diff --git a/packages/app-config/src/supportedNetworks.ts b/packages/app-config/src/supportedNetworks.ts index debd11f..b2313b3 100644 --- a/packages/app-config/src/supportedNetworks.ts +++ b/packages/app-config/src/supportedNetworks.ts @@ -4,4 +4,4 @@ import { darwinia } from "./chains/darwinia"; import { pangolin } from "./chains/pangolin"; import { pangoro } from "./chains/pangoro"; -export const supportedNetworks: ChainConfig[] = [crab, pangoro, pangolin]; +export const supportedNetworks: ChainConfig[] = [crab]; diff --git a/packages/app/src/components/Header/index.tsx b/packages/app/src/components/Header/index.tsx index 9494a73..1fb80aa 100644 --- a/packages/app/src/components/Header/index.tsx +++ b/packages/app/src/components/Header/index.tsx @@ -14,8 +14,14 @@ import SelectAccountModal, { SelectAccountModalRef } from "../SelectAccountModal const Header = () => { const [networkOptionsTrigger, setNetworkOptionsTrigger] = useState(null); const { t } = useAppTranslation(); - const { selectedNetwork, changeSelectedNetwork, selectedAccount, connectWallet, forceSetAccountAddress, walletConfig } = - useWallet(); + const { + selectedNetwork, + changeSelectedNetwork, + selectedAccount, + connectWallet, + forceSetAccountAddress, + walletConfig, + } = useWallet(); const [searchParams, setSearchParams] = useSearchParams(); const location = useLocation(); const selectAccountModalRef = useRef(null); @@ -39,7 +45,7 @@ const Header = () => { } } else { /* use test network by default */ - const index = supportedNetworks.findIndex((network) => network.name === "Pangolin"); + const index = supportedNetworks.findIndex((network) => network.name === "Crab"); changeConnectedNetwork(supportedNetworks[index]); } }, []); @@ -93,7 +99,7 @@ const Header = () => { ) : (