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);