diff --git a/src/chaindata/index.ts b/src/chaindata/index.ts index a483754e..2fea66dc 100644 --- a/src/chaindata/index.ts +++ b/src/chaindata/index.ts @@ -1,8 +1,8 @@ import { NetworkType } from '@/models'; -import PolkadotChains from './polkadot'; import KusamaChains from './kusama'; import leases from './leases.json'; +import PolkadotChains from './polkadot'; import RococoChains from './rococo'; import { BaseChainInfo, ChainDetails } from './types'; import WestendChains from './westend'; diff --git a/src/components/Elements/Selectors/ChainSelector/index.tsx b/src/components/Elements/Selectors/ChainSelector/index.tsx index d4609637..fe2e4750 100644 --- a/src/components/Elements/Selectors/ChainSelector/index.tsx +++ b/src/components/Elements/Selectors/ChainSelector/index.tsx @@ -22,10 +22,10 @@ interface ChainSelectorProps { import { enableRegionX } from '@/utils/functions'; import { - Polkadot, - PolkadotCoretime, Kusama, KusamaCoretime, + Polkadot, + PolkadotCoretime, RegionX, Rococo, RococoCoretime, diff --git a/src/components/Elements/Selectors/NetworkSelector/index.tsx b/src/components/Elements/Selectors/NetworkSelector/index.tsx index b6e6c68f..3b89c2f0 100644 --- a/src/components/Elements/Selectors/NetworkSelector/index.tsx +++ b/src/components/Elements/Selectors/NetworkSelector/index.tsx @@ -3,8 +3,8 @@ import Image from 'next/image'; import { useRouter } from 'next/router'; import { - Polkadot as PolkadotIcon, Kusama as KusamaIcon, + Polkadot as PolkadotIcon, Rococo as RococoIcon, } from '@/assets/networks/relay'; import { useNetwork } from '@/contexts/network'; diff --git a/src/contexts/apis/RelayApi/index.tsx b/src/contexts/apis/RelayApi/index.tsx index 47d99ffe..46692d0e 100644 --- a/src/contexts/apis/RelayApi/index.tsx +++ b/src/contexts/apis/RelayApi/index.tsx @@ -2,7 +2,12 @@ import React, { useContext, useEffect, useReducer, useState } from 'react'; import { parseHNString } from '@/utils/functions'; -import { WS_KUSAMA_RELAY_CHAIN, WS_POLKADOT_RELAY_CHAIN, WS_ROCOCO_RELAY_CHAIN, WS_WESTEND_RELAY_CHAIN } from '@/consts'; +import { + WS_KUSAMA_RELAY_CHAIN, + WS_POLKADOT_RELAY_CHAIN, + WS_ROCOCO_RELAY_CHAIN, + WS_WESTEND_RELAY_CHAIN, +} from '@/consts'; import { ApiState } from '@/contexts/apis/types'; import { useNetwork } from '@/contexts/network'; import { useToast } from '@/contexts/toast';