diff --git a/src/components/NetworkModal/index.js b/src/components/NetworkModal/index.js index 17f47b8bd..01d5eff88 100644 --- a/src/components/NetworkModal/index.js +++ b/src/components/NetworkModal/index.js @@ -9,7 +9,7 @@ import { useOnClickOutside } from '../../hooks' import { useNetworksInfo } from '../../contexts/NetworkInfo' import { Link, useHistory, useParams } from 'react-router-dom' import Kyber from '../Icons/Kyber' -import { ChainId, NETWORKS_INFO_LIST } from '../../constants/networks' +import { ChainId, NOT_SUPPORT_ELASTIC_NETWORKS, NETWORKS_INFO_LIST } from '../../constants/networks' const ModalContentWrapper = styled.div` display: flex; @@ -184,7 +184,7 @@ export default function NetworkModal() { ) } else { - if (network.chainId === ChainId.AURORA) return undefined + if (NOT_SUPPORT_ELASTIC_NETWORKS.includes(network.chainId)) return undefined return (