fix: remove dollar sign from translation of eth amount

fixes https://github.com/Uniswap/uniswap-interface/issues/1986
This commit is contained in:
Moody Salem 2021-07-12 11:09:45 -05:00
parent 41330ab080
commit 77fbccd3f1
No known key found for this signature in database
GPG Key ID: 8CB5CD10385138DB

@ -134,7 +134,7 @@ export default function PoolCard({ stakingInfo }: { stakingInfo: StakingInfo })
{valueOfTotalStakedAmountInUSDC ? (
<Trans>${valueOfTotalStakedAmountInUSDC.toFixed(0, { groupSeparator: ',' })}</Trans>
) : (
<Trans>${valueOfTotalStakedAmountInWETH?.toSignificant(4, { groupSeparator: ',' }) ?? '-'} ETH</Trans>
<Trans>{valueOfTotalStakedAmountInWETH?.toSignificant(4, { groupSeparator: ',' }) ?? '-'} ETH</Trans>
)}
</TYPE.white>
</RowBetween>