Skip to content

Commit 5e6f433

Browse files
sammdecclaude
andcommitted
fix: move Aptos back out of Legacy in market switcher
Reverts the Aptos portion of #3111. Aptos returns to the "Other L1 chains" category and to its previous position in the market ordering (directly after Polygon). Sonic and Gnosis stay in Legacy. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 41aa4ae commit 5e6f433

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎src/components/MarketSwitcher.tsx‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ const MARKET_CATEGORY: Record<string, MarketCategory> = {
148148
Plasma: 'other',
149149
Avalanche: 'other',
150150
'BNB Chain': 'other',
151+
Aptos: 'other',
151152
// Legacy markets
152153
EtherFi: 'legacy',
153154
ZKsync: 'legacy',
@@ -156,7 +157,6 @@ const MARKET_CATEGORY: Record<string, MarketCategory> = {
156157
Scroll: 'legacy',
157158
Gnosis: 'legacy',
158159
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-
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,
181+
Aptos: 12,
182+
Linea: 13,
183+
OP: 14,
184+
MegaETH: 15,
185+
Celo: 16,
186+
Scroll: 17,
187+
ZKsync: 18,
188+
Soneium: 19,
189+
Metis: 20,
190+
EtherFi: 21,
191+
Gnosis: 22,
192+
Sonic: 23,
193193
};
194194

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

0 commit comments

Comments
 (0)