Skip to content

Commit 6ab207d

Browse files
sammdecclaude
andauthored
feat: move Sonic, Aptos and Gnosis into Legacy (#3111)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent bb68f10 commit 6ab207d

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

‎src/components/MarketSwitcher.tsx‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ const MARKET_CATEGORY: Record<string, MarketCategory> = {
148148
Plasma: 'other',
149149
Avalanche: 'other',
150150
'BNB Chain': 'other',
151-
Gnosis: 'other',
152-
Sonic: 'other',
153-
Aptos: 'other',
154151
// Legacy markets
155152
EtherFi: 'legacy',
156153
ZKsync: 'legacy',
157154
Soneium: 'legacy',
158155
Metis: 'legacy',
159156
Scroll: 'legacy',
157+
Gnosis: 'legacy',
158+
Sonic: 'legacy',
159+
Aptos: 'legacy',
160160
};
161161

162162
const getMarketCategory = (marketId: CustomMarket): MarketCategory => {
@@ -178,18 +178,18 @@ const MARKET_ORDER_BY_TITLE: { [title: string]: number } = {
178178
'BNB Chain': 9,
179179
'X Layer': 10,
180180
Polygon: 11,
181-
Gnosis: 12,
182-
Aptos: 13,
183-
Linea: 14,
184-
OP: 15,
185-
MegaETH: 16,
186-
Sonic: 17,
187-
Celo: 18,
188-
Scroll: 19,
189-
ZKsync: 20,
190-
Soneium: 21,
191-
Metis: 22,
192-
EtherFi: 23,
181+
Linea: 12,
182+
OP: 13,
183+
MegaETH: 14,
184+
Celo: 15,
185+
Scroll: 16,
186+
ZKsync: 17,
187+
Soneium: 18,
188+
Metis: 19,
189+
EtherFi: 20,
190+
Gnosis: 21,
191+
Sonic: 22,
192+
Aptos: 23,
193193
};
194194

195195
const getMarketOrder = (marketId: CustomMarket): number => {

0 commit comments

Comments
 (0)