Skip to content

Commit

Permalink
use numeric to convert to string
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistevam committed Feb 5, 2024
1 parent 87637d0 commit 9e0a0ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const BaseFeeInput = () => {
return advancedGasFeeValues.maxBaseFee;
}

return maxFeePerGas;
return new Numeric(maxFeePerGas, 10)?.toString();
});

const [baseFeeInPrimaryCurrency] = useCurrencyDisplay(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const PriorityFeeInput = () => {
) {
return advancedGasFeeValues.priorityFee;
}
return maxPriorityFeePerGas;
return new Numeric(maxPriorityFeePerGas, 10).toString();
});

const { currency, numberOfDecimals } = useUserPreferencedCurrency(PRIMARY);
Expand Down

0 comments on commit 9e0a0ae

Please sign in to comment.