Skip to content

Commit

Permalink
fix: [Sale Widget] issue with passing incorrect amount to on ramp wid…
Browse files Browse the repository at this point in the history
…get (#1632)
  • Loading branch information
jhesgodi authored Mar 27, 2024
1 parent 33d87e8 commit 7b1a8d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const getTopUpViewData = (
subheading = ['views.PAYMENT_METHODS.topUp.subheading.native', balances];
}

const amount = erc20?.delta.balance.toString() || '0';
const amount = erc20?.delta.formattedBalance || '0';

return {
amount,
Expand Down

0 comments on commit 7b1a8d8

Please sign in to comment.