Skip to content

Commit 2f03ee8

Browse files
committed
fix: approval amounts
1 parent 67a4efb commit 2f03ee8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/transactions/Supply/SupplyActions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const SupplyActions = React.memo(
108108
signatureAmount: amountToSupply,
109109
onApprovalTxConfirmed: fetchApprovedAmount,
110110
onSignTxCompleted: (signedParams) => setSignatureParams(signedParams),
111+
amountToApprove: parseUnits(amountToSupply, decimals).toString(),
111112
});
112113

113114
useEffect(() => {

0 commit comments

Comments
 (0)