fix: flip token logos in routing diagram (#2375)

* flip token logos in route

* update snapshot
This commit is contained in:
Justin Domingue 2021-09-16 14:50:51 -04:00 committed by GitHub
parent 1314477a88
commit 112b00521c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

@ -105,7 +105,7 @@ function Pool({ currency0, currency1, feeAmount }: { currency0: Currency; curren
return ( return (
<PoolBadge> <PoolBadge>
<Box margin="0 5px 0 10px"> <Box margin="0 5px 0 10px">
<DoubleCurrencyLogo currency0={tokenInfo0} currency1={tokenInfo1} size={20} /> <DoubleCurrencyLogo currency0={tokenInfo1} currency1={tokenInfo0} size={20} />
</Box> </Box>
<TYPE.small fontSize={12}>{feeAmount / 10000}%</TYPE.small> <TYPE.small fontSize={12}>{feeAmount / 10000}%</TYPE.small>
</PoolBadge> </PoolBadge>

@ -36,7 +36,7 @@ exports[`renders multi route 1`] = `
<div <div
class="css-1t7xebc" class="css-1t7xebc"
> >
DoubleCurrencyLogo currency0=USDC currency1=DAI DoubleCurrencyLogo currency0=DAI currency1=USDC
</div> </div>
<div <div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9" class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
@ -79,7 +79,7 @@ exports[`renders multi route 1`] = `
<div <div
class="css-1t7xebc" class="css-1t7xebc"
> >
DoubleCurrencyLogo currency0=USDC currency1=WBTC DoubleCurrencyLogo currency0=WBTC currency1=USDC
</div> </div>
<div <div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9" class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
@ -93,7 +93,7 @@ exports[`renders multi route 1`] = `
<div <div
class="css-1t7xebc" class="css-1t7xebc"
> >
DoubleCurrencyLogo currency0=WBTC currency1=DAI DoubleCurrencyLogo currency0=DAI currency1=WBTC
</div> </div>
<div <div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9" class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"
@ -145,7 +145,7 @@ exports[`renders single route 1`] = `
<div <div
class="css-1t7xebc" class="css-1t7xebc"
> >
DoubleCurrencyLogo currency0=USDC currency1=DAI DoubleCurrencyLogo currency0=DAI currency1=USDC
</div> </div>
<div <div
class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9" class="theme__TextWrapper-sc-18nh1jk-0 cWOfab css-15li2d9"