From c73965bf3f9eeb68e7edb4d9b7c1fa823db461d0 Mon Sep 17 00:00:00 2001 From: Canh Trinh Date: Mon, 21 Aug 2023 11:33:43 -0400 Subject: [PATCH] chore: ts ignore useDetectUnwrapTransfers --- src/hooks/useDetectUnwrapTransfer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hooks/useDetectUnwrapTransfer.ts b/src/hooks/useDetectUnwrapTransfer.ts index 84dd722a0..3d54f0626 100644 --- a/src/hooks/useDetectUnwrapTransfer.ts +++ b/src/hooks/useDetectUnwrapTransfer.ts @@ -38,11 +38,12 @@ export function useDetectUnwrapTransfer() { }, ], eventName: "Withdrawal", - listener(address) { + listener: (address) => { if (asset?.native_chain !== destChain.chainName.toLowerCase()) { return; } if ( + // @ts-ignore address?.toLowerCase() === intermediaryDepositAddress?.toLowerCase() ) { setSwapStatus(SwapStatus.FINISHED);