From 2f03ee85c576e74e41632a02f82d7862c7d8ac7c Mon Sep 17 00:00:00 2001 From: Mark Hinschberger Date: Thu, 21 Nov 2024 10:52:32 +0000 Subject: [PATCH] fix: approval amounts --- src/components/transactions/Supply/SupplyActions.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/transactions/Supply/SupplyActions.tsx b/src/components/transactions/Supply/SupplyActions.tsx index 705c0b2fc1..2b921d5e6d 100644 --- a/src/components/transactions/Supply/SupplyActions.tsx +++ b/src/components/transactions/Supply/SupplyActions.tsx @@ -108,6 +108,7 @@ export const SupplyActions = React.memo( signatureAmount: amountToSupply, onApprovalTxConfirmed: fetchApprovedAmount, onSignTxCompleted: (signedParams) => setSignatureParams(signedParams), + amountToApprove: parseUnits(amountToSupply, decimals).toString(), }); useEffect(() => {