Skip to content

Commit

Permalink
fix: disabled polkadot xcm (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
impelcrypto authored Jul 6, 2024
1 parent 7c92cce commit 5cd5129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/xcm/useTransferRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export function useTransferRouter() {
}

const isDisabledXcmChain = Boolean(
disabledXcmChains && disabledXcmChains.find((it) => it === currentNetworkIdx.value)
disabledXcmChains && disabledXcmChains.some((it) => it === currentNetworkIdx.value)
);
const originChain = token.value?.originChain || '';
return checkIsDisabledToken(originChain) || isDisabledXcmChain;
Expand Down

0 comments on commit 5cd5129

Please sign in to comment.