diff --git a/package.json b/package.json index 82aa3af2e..fc0b23bc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkaswap-exchange-web", - "version": "1.29.1", + "version": "1.29.2", "repository": { "type": "git", "url": "https://github.com/sora-xor/polkaswap-exchange-web.git" diff --git a/src/store/web3/getters.ts b/src/store/web3/getters.ts index ac8ed22cb..f3a9f01a6 100644 --- a/src/store/web3/getters.ts +++ b/src/store/web3/getters.ts @@ -1,5 +1,4 @@ import { BridgeNetworkType } from '@sora-substrate/util/build/bridgeProxy/consts'; -import { SubNetworkId } from '@sora-substrate/util/build/bridgeProxy/sub/consts'; import { defineGetters } from 'direct-vuex'; import { EVM_NETWORKS } from '@/consts/evm'; @@ -50,11 +49,7 @@ const getters = defineGetters()({ data.endpointUrls.push(address); data.blockExplorerUrls.push(address); - let disabled = !state.supportedApps?.[BridgeNetworkType.Sub]?.includes(id as SubNetwork); - - if ([SubNetworkId.Kusama, SubNetworkId.KusamaSora].includes(id as SubNetworkId)) { - disabled = true; // Kusama issue: https://github.com/paritytech/polkadot-sdk/issues/3345 - } + const disabled = !state.supportedApps?.[BridgeNetworkType.Sub]?.includes(id as SubNetwork); buffer[id] = { disabled,