fix: translate both prices in the rate toggle

fixes https://github.com/Uniswap/uniswap-interface/issues/1834
This commit is contained in:
Moody Salem 2021-06-09 18:06:42 -05:00
parent 84c4219c02
commit abeba3d6b6
No known key found for this signature in database
GPG Key ID: 8CB5CD10385138DB

@ -26,7 +26,7 @@ export default function RateToggle({
<Trans>{isSorted ? currencyA.symbol : currencyB.symbol} price</Trans>
</ToggleElement>
<ToggleElement isActive={!isSorted} fontSize="12px">
{isSorted ? currencyB.symbol : currencyA.symbol} price
<Trans>{isSorted ? currencyB.symbol : currencyA.symbol} price</Trans>
</ToggleElement>
</ToggleWrapper>
</div>