Commit abeba3d6 authored by Moody Salem's avatar Moody Salem

fix: translate both prices in the rate toggle

fixes https://github.com/Uniswap/uniswap-interface/issues/1834
parent 84c4219c
...@@ -26,7 +26,7 @@ export default function RateToggle({ ...@@ -26,7 +26,7 @@ export default function RateToggle({
<Trans>{isSorted ? currencyA.symbol : currencyB.symbol} price</Trans> <Trans>{isSorted ? currencyA.symbol : currencyB.symbol} price</Trans>
</ToggleElement> </ToggleElement>
<ToggleElement isActive={!isSorted} fontSize="12px"> <ToggleElement isActive={!isSorted} fontSize="12px">
{isSorted ? currencyB.symbol : currencyA.symbol} price <Trans>{isSorted ? currencyB.symbol : currencyA.symbol} price</Trans>
</ToggleElement> </ToggleElement>
</ToggleWrapper> </ToggleWrapper>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment