fix(remove liquidity): price display in remove liquidity incorrect

This commit is contained in:
Moody Salem 2020-08-27 14:26:23 -05:00
parent 1911f72536
commit 95030a52c5
No known key found for this signature in database
GPG Key ID: 8CB5CD10385138DB

@ -634,14 +634,7 @@ export default function RemoveLiquidity({
<RowBetween>
<div />
<div>
1 {currencyB?.symbol} ={' '}
{tokenB
? pair
.priceOf(tokenB)
.invert()
.toSignificant(6)
: '-'}{' '}
{currencyA?.symbol}
1 {currencyB?.symbol} = {tokenB ? pair.priceOf(tokenB).toSignificant(6) : '-'} {currencyA?.symbol}
</div>
</RowBetween>
</div>