Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
483372f0
Commit
483372f0
authored
Mar 28, 2023
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix hydration issue
parent
2f62ccc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
14 deletions
+10
-14
VerifiedAddresses.tsx
ui/pages/VerifiedAddresses.tsx
+7
-11
AccountPageDescription.tsx
ui/shared/AccountPageDescription.tsx
+3
-3
No files found.
ui/pages/VerifiedAddresses.tsx
View file @
483372f0
...
...
@@ -16,21 +16,17 @@ const VerifiedAddresses = () => {
<
Page
>
<
PageTitle
text=
"My verified addresses"
/>
<
AccountPageDescription
allowCut=
{
false
}
>
<
chakra
.
p
>
<
span
>
Before you claim the ownership of your contract address and update your token’s information, make sure that:
</
span
>
<
UnorderedList
>
<
ListItem
>
the source code has already been deployed onto the Ethereum blockchain
</
ListItem
>
<
ListItem
>
the source code has already been verified (if you have not yet verified the source code, please do so using this tool)
</
ListItem
>
</
UnorderedList
>
</
chakra
.
p
>
<
chakra
.
p
mt=
{
3
}
>
<
span
>
Before you claim the ownership of your contract address and update your token’s information, make sure that:
</
span
>
<
UnorderedList
>
<
ListItem
>
the source code has already been deployed onto the Ethereum blockchain
</
ListItem
>
<
ListItem
>
the source code has already been verified (if you have not yet verified the source code, please do so using this tool)
</
ListItem
>
</
UnorderedList
>
<
chakra
.
div
mt=
{
3
}
>
The verify address ownership process involves verifying the ownership of an “Network name” address used to create an “Network name” smart contract.
This verification will be linked to an “Network name” account. Once a user has claimed ownership of an address,
the user will be able to update token information and address name tags without needing to sign a new message each time.
Find out more about verify address ownership.
</
chakra
.
p
>
</
chakra
.
div
>
</
AccountPageDescription
>
<
Button
size=
"lg"
onClick=
{
modalProps
.
onOpen
}
>
Add address
...
...
ui/shared/AccountPageDescription.tsx
View file @
483372f0
import
{
Box
,
Text
,
useColorModeValue
}
from
'
@chakra-ui/react
'
;
import
{
Box
,
useColorModeValue
}
from
'
@chakra-ui/react
'
;
import
_debounce
from
'
lodash/debounce
'
;
import
React
,
{
useRef
,
useEffect
,
useState
,
useCallback
}
from
'
react
'
;
...
...
@@ -44,14 +44,14 @@ const AccountPageDescription = ({ children, allowCut = true }: { children: React
return
(
<
Box
position=
"relative"
marginBottom=
{
{
base
:
6
,
lg
:
8
}
}
>
<
Text
<
Box
ref=
{
ref
}
maxHeight=
{
needCut
&&
!
expanded
?
`${ CUT_HEIGHT }px`
:
'
auto
'
}
overflow=
"hidden"
style=
{
needCut
&&
!
expanded
?
{
WebkitLineClamp
:
'
6
'
,
WebkitBoxOrient
:
'
vertical
'
,
display
:
'
-webkit-box
'
}
:
{}
}
>
{
children
}
</
Text
>
</
Box
>
{
needCut
&&
!
expanded
&&
(
<
Box
position=
"absolute"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment