diff --git a/src/hooks/xcm/useTransferRouter.ts b/src/hooks/xcm/useTransferRouter.ts index 15dd52240..1d3e833ae 100644 --- a/src/hooks/xcm/useTransferRouter.ts +++ b/src/hooks/xcm/useTransferRouter.ts @@ -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;