Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
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
LuckySwap
interface
Commits
112b0052
Unverified
Commit
112b0052
authored
Sep 16, 2021
by
Justin Domingue
Committed by
GitHub
Sep 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: flip token logos in routing diagram (#2375)
* flip token logos in route * update snapshot
parent
1314477a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
RoutingDiagram.tsx
src/components/RoutingDiagram/RoutingDiagram.tsx
+1
-1
RoutingDiagram.test.tsx.snap
...RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap
+4
-4
No files found.
src/components/RoutingDiagram/RoutingDiagram.tsx
View file @
112b0052
...
...
@@ -105,7 +105,7 @@ function Pool({ currency0, currency1, feeAmount }: { currency0: Currency; curren
return
(
<
PoolBadge
>
<
Box
margin=
"0 5px 0 10px"
>
<
DoubleCurrencyLogo
currency0=
{
tokenInfo
0
}
currency1=
{
tokenInfo1
}
size=
{
20
}
/>
<
DoubleCurrencyLogo
currency0=
{
tokenInfo
1
}
currency1=
{
tokenInfo0
}
size=
{
20
}
/>
</
Box
>
<
TYPE
.
small
fontSize=
{
12
}
>
{
feeAmount
/
10000
}
%
</
TYPE
.
small
>
</
PoolBadge
>
...
...
src/components/RoutingDiagram/__snapshots__/RoutingDiagram.test.tsx.snap
View file @
112b0052
...
...
@@ -36,7 +36,7 @@ exports[`renders multi route 1`] = `
<div
class="css-1t7xebc"
>
DoubleCurrencyLogo currency0=
USDC currency1=DAI
DoubleCurrencyLogo currency0=
DAI currency1=USDC
</div>
<div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
...
...
@@ -79,7 +79,7 @@ exports[`renders multi route 1`] = `
<div
class="css-1t7xebc"
>
DoubleCurrencyLogo currency0=
USDC currency1=WBT
C
DoubleCurrencyLogo currency0=
WBTC currency1=USD
C
</div>
<div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
...
...
@@ -93,7 +93,7 @@ exports[`renders multi route 1`] = `
<div
class="css-1t7xebc"
>
DoubleCurrencyLogo currency0=
WBTC currency1=DAI
DoubleCurrencyLogo currency0=
DAI currency1=WBTC
</div>
<div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
...
...
@@ -145,7 +145,7 @@ exports[`renders single route 1`] = `
<div
class="css-1t7xebc"
>
DoubleCurrencyLogo currency0=
USDC currency1=DAI
DoubleCurrencyLogo currency0=
DAI currency1=USDC
</div>
<div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
...
...
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