fix(remove liquidity): price display in remove liquidity incorrect
This commit is contained in:
parent
1911f72536
commit
95030a52c5
@ -634,14 +634,7 @@ export default function RemoveLiquidity({
|
|||||||
<RowBetween>
|
<RowBetween>
|
||||||
<div />
|
<div />
|
||||||
<div>
|
<div>
|
||||||
1 {currencyB?.symbol} ={' '}
|
1 {currencyB?.symbol} = {tokenB ? pair.priceOf(tokenB).toSignificant(6) : '-'} {currencyA?.symbol}
|
||||||
{tokenB
|
|
||||||
? pair
|
|
||||||
.priceOf(tokenB)
|
|
||||||
.invert()
|
|
||||||
.toSignificant(6)
|
|
||||||
: '-'}{' '}
|
|
||||||
{currencyA?.symbol}
|
|
||||||
</div>
|
</div>
|
||||||
</RowBetween>
|
</RowBetween>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user