From 51e700971b8a19ae9c7b6fc350babc3aa5000e94 Mon Sep 17 00:00:00 2001 From: vidvidvid Date: Thu, 19 Dec 2024 15:38:12 +0100 Subject: [PATCH] deactivate superseed --- packages/ui/app/_components/markets/NetworkSelector.tsx | 5 ++--- packages/ui/app/market/page.tsx | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ui/app/_components/markets/NetworkSelector.tsx b/packages/ui/app/_components/markets/NetworkSelector.tsx index 1910ab0ed1..0a1f093c0d 100644 --- a/packages/ui/app/_components/markets/NetworkSelector.tsx +++ b/packages/ui/app/_components/markets/NetworkSelector.tsx @@ -21,14 +21,13 @@ interface INetworkSelector { upcomingChains?: string[]; } -const NETWORK_ORDER = [ +const ACTIVE_NETWORKS = [ 'Mode', 'Base', 'Optimism', 'Fraxtal', 'Lisk', 'BoB', - 'Superseed', 'Worldchain' ]; @@ -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] => diff --git a/packages/ui/app/market/page.tsx b/packages/ui/app/market/page.tsx index 5f63e81387..5547ab42cd 100644 --- a/packages/ui/app/market/page.tsx +++ b/packages/ui/app/market/page.tsx @@ -268,6 +268,7 @@ export default function Market() {