Skip to content

Commit

Permalink
fix: change to unformatted amount for calculating and displaying fiat…
Browse files Browse the repository at this point in the history
… value on totoken
  • Loading branch information
ghgoodreau committed Jan 21, 2025
1 parent 6bd80a1 commit 5ad5707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/swaps/prepare-swap-page/prepare-swap-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ export default function PrepareSwapPage({

const swapToTokenFiatValue = useTokenFiatAmount(
selectedToToken.address,
receiveToAmountFormatted || 0,
receiveToAmount || 0,
selectedToToken.symbol,
{
showFiat: true,
Expand Down

0 comments on commit 5ad5707

Please sign in to comment.