We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed00a5 commit 21bafe1Copy full SHA for 21bafe1
src/ui/pages/SendTransaction/SendTransaction.tsx
@@ -768,11 +768,10 @@ function SendTransactionContent({
768
).toFixed()
769
: null;
770
771
- const baseQuantity = allowanceQuantityBase || requestedAllowanceQuantityBase;
772
const allowanceQuantityCommon =
773
- fungibleDecimals && baseQuantity
774
- ? baseToCommon(baseQuantity, fungibleDecimals).toFixed()
775
- : null;
+ fungibleDecimals && allowanceQuantityBase
+ ? baseToCommon(allowanceQuantityBase, fungibleDecimals).toFixed()
+ : requestedAllowanceQuantityBase;
776
777
if (!addressAction) {
778
return null;
0 commit comments