From a12ab90154d56e43897d5611e3e37ff6f5cfc124 Mon Sep 17 00:00:00 2001 From: Rosco Kalis Date: Mon, 13 Jan 2025 14:48:20 +0100 Subject: [PATCH] fix: wip --- lib/hooks/ethereum/useRevokeBatchEip5792.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hooks/ethereum/useRevokeBatchEip5792.tsx b/lib/hooks/ethereum/useRevokeBatchEip5792.tsx index 63d0064fc..236eed2e1 100644 --- a/lib/hooks/ethereum/useRevokeBatchEip5792.tsx +++ b/lib/hooks/ethereum/useRevokeBatchEip5792.tsx @@ -75,6 +75,8 @@ export const useRevokeBatchEip5792 = (allowances: TokenAllowanceData[], onUpdate const id = await batchPromise; const { receipts } = await pollForCallsReceipts(id, extendedWalletClient); + console.log('receipts', receipts); + if (receipts?.length === 1) { return mapWalletCallReceiptToTransactionSubmitted(allowance, receipts[0], onUpdate); }