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
97858e77
Unverified
Commit
97858e77
authored
Feb 04, 2025
by
Igor Stuev
Committed by
GitHub
Feb 04, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address ERC-20 tokens tab navigation issue (#2516)
parent
c30fe532
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
AddressCounterItem.tsx
ui/address/details/AddressCounterItem.tsx
+5
-1
TokenSelect.tsx
ui/address/tokenSelect/TokenSelect.tsx
+6
-1
No files found.
ui/address/details/AddressCounterItem.tsx
View file @
97858e77
...
@@ -51,7 +51,11 @@ const AddressCounterItem = ({ prop, query, address, onClick, isAddressQueryLoadi
...
@@ -51,7 +51,11 @@ const AddressCounterItem = ({ prop, query, address, onClick, isAddressQueryLoadi
}
}
return
(
return
(
<
LinkInternal
href=
{
route
({
pathname
:
'
/address/[hash]
'
,
query
:
{
hash
:
address
,
tab
:
PROP_TO_TAB
[
prop
]
}
})
}
onClick=
{
onClick
}
>
<
LinkInternal
href=
{
route
({
pathname
:
'
/address/[hash]
'
,
query
:
{
hash
:
address
,
tab
:
PROP_TO_TAB
[
prop
]
}
})
}
onClick=
{
onClick
}
scroll=
{
false
}
>
{
Number
(
data
).
toLocaleString
()
}
{
Number
(
data
).
toLocaleString
()
}
</
LinkInternal
>
</
LinkInternal
>
);
);
...
...
ui/address/tokenSelect/TokenSelect.tsx
View file @
97858e77
...
@@ -63,7 +63,12 @@ const TokenSelect = ({ onClick }: Props) => {
...
@@ -63,7 +63,12 @@ const TokenSelect = ({ onClick }: Props) => {
}
}
<
Tooltip
label=
"Show all tokens"
>
<
Tooltip
label=
"Show all tokens"
>
<
Box
>
<
Box
>
<
NextLink
href=
{
{
pathname
:
'
/address/[hash]
'
,
query
:
{
hash
:
addressHash
,
tab
:
'
tokens
'
}
}
}
passHref
legacyBehavior
>
<
NextLink
href=
{
{
pathname
:
'
/address/[hash]
'
,
query
:
{
hash
:
addressHash
,
tab
:
'
tokens
'
}
}
}
passHref
legacyBehavior
scroll=
{
false
}
>
<
IconButton
<
IconButton
aria
-
label=
"Show all tokens"
aria
-
label=
"Show all tokens"
variant=
"outline"
variant=
"outline"
...
...
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