Skip to content

Commit

Permalink
chore: ts ignore useDetectUnwrapTransfers
Browse files Browse the repository at this point in the history
  • Loading branch information
canhtrinh committed Aug 21, 2023
1 parent 8d73811 commit c73965b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useDetectUnwrapTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit c73965b

@vercel
Copy link

@vercel vercel bot commented on c73965b Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.