Commit 5e23501d authored by lynn's avatar lynn Committed by GitHub

fix: more precise numbers in swap exchange price (#5541)

fix rounding
parent 6bc98363
......@@ -63,7 +63,7 @@ export default function TradePrice({ price, showInverted, setShowInverted }: Tra
</Text>{' '}
{usdcPrice && (
<ThemedText.DeprecatedDarkGray>
<Trans>({formatDollar({ num: priceToPreciseFloat(usdcPrice) })})</Trans>
<Trans>({formatDollar({ num: priceToPreciseFloat(usdcPrice), isPrice: true })})</Trans>
</ThemedText.DeprecatedDarkGray>
)}
</StyledPriceContainer>
......
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