Skip to content

Commit

Permalink
Merge pull request #871 from ionicprotocol/feat/switchoff-superchain
Browse files Browse the repository at this point in the history
Deactivate superseed
  • Loading branch information
rhlsthrm authored Dec 19, 2024
2 parents 71a6f95 + 51e7009 commit 223cd52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/ui/app/_components/markets/NetworkSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ interface INetworkSelector {
upcomingChains?: string[];
}

const NETWORK_ORDER = [
const ACTIVE_NETWORKS = [
'Mode',
'Base',
'Optimism',
'Fraxtal',
'Lisk',
'BoB',
'Superseed',
'Worldchain'
];

Expand All @@ -42,7 +41,7 @@ function NetworkSelector({
const searchParams = useSearchParams();
const setDropChain = useStore((state) => state.setDropChain);

const orderedNetworks = NETWORK_ORDER.map((networkName) =>
const orderedNetworks = ACTIVE_NETWORKS.map((networkName) =>
Object.entries(pools).find(([_, pool]) => pool.name === networkName)
).filter(
(entry): entry is [string, any] =>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/app/market/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export default function Market() {
<NetworkSelector
dropdownSelectedChain={+chain}
upcomingChains={[
'Superseed',
'MetalL2',
'Ozean',
'Soneium',
Expand Down

0 comments on commit 223cd52

Please sign in to comment.