Skip to content

Commit 21bafe1

Browse files
committed
fix
1 parent 2ed00a5 commit 21bafe1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ui/pages/SendTransaction/SendTransaction.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,10 @@ function SendTransactionContent({
768768
).toFixed()
769769
: null;
770770

771-
const baseQuantity = allowanceQuantityBase || requestedAllowanceQuantityBase;
772771
const allowanceQuantityCommon =
773-
fungibleDecimals && baseQuantity
774-
? baseToCommon(baseQuantity, fungibleDecimals).toFixed()
775-
: null;
772+
fungibleDecimals && allowanceQuantityBase
773+
? baseToCommon(allowanceQuantityBase, fungibleDecimals).toFixed()
774+
: requestedAllowanceQuantityBase;
776775

777776
if (!addressAction) {
778777
return null;

0 commit comments

Comments
 (0)