Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kristian
uniswap-interface
Commits
b8c383c2
Unverified
Commit
b8c383c2
authored
4 years ago
by
Moody Salem
Browse files
Options
Download
Email Patches
Plain Diff
fix(#1083): fix wrapping of tokens added/removed in list update popup
parent
fbf39e49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Popups/ListUpdatePopup.tsx
+10
-8
src/components/Popups/ListUpdatePopup.tsx
with
10 additions
and
8 deletions
+10
-8
src/components/Popups/ListUpdatePopup.tsx
+
10
-
8
View file @
b8c383c2
...
...
@@ -67,20 +67,22 @@ export default function ListUpdatePopup({
<
ul
>
{
tokensAdded
.
length
>
0
?
(
<
li
>
{
tokensAdded
.
map
(
token
=>
(
<
strong
key
=
{
`
${
token
.
chainId
}
-
${
token
.
address
}
`
}
title
=
{
token
.
address
}
>
{
token
.
symbol
}
</
strong
>
{
tokensAdded
.
map
((
token
,
i
)
=>
(
<
React
.
Fragment
key
=
{
`
${
token
.
chainId
}
-
${
token
.
address
}
`
}
>
<
strong
title
=
{
token
.
address
}
>
{
token
.
symbol
}
</
strong
>
{
i
===
tokensAdded
.
length
-
1
?
null
:
'
,
'
}
</
React
.
Fragment
>
))
}{
'
'
}
added
</
li
>
)
:
null
}
{
tokensRemoved
.
length
>
0
?
(
<
li
>
{
tokensRemoved
.
map
(
token
=>
(
<
strong
key
=
{
`
${
token
.
chainId
}
-
${
token
.
address
}
`
}
title
=
{
token
.
address
}
>
{
token
.
symbol
}
</
strong
>
{
tokensRemoved
.
map
((
token
,
i
)
=>
(
<
React
.
Fragment
key
=
{
`
${
token
.
chainId
}
-
${
token
.
address
}
`
}
>
<
strong
title
=
{
token
.
address
}
>
{
token
.
symbol
}
</
strong
>
{
i
===
tokensRemoved
.
length
-
1
?
null
:
'
,
'
}
</
React
.
Fragment
>
))
}{
'
'
}
removed
</
li
>
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help