Skip to content

Commit c9cb33b

Browse files
authored
feat: enable main (#2694)
1 parent dc32c18 commit c9cb33b

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/components/transactions/Switch/common.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { ChainId } from '@aave/contract-helpers';
21
import { BaseNetworkConfig } from 'src/ui-config/networksConfig';
32
import {
4-
getNetworkConfig,
53
getSupportedChainIds,
64
marketsData,
75
networkConfigs,
@@ -23,11 +21,8 @@ export const supportedNetworksWithEnabledMarket = supportedNetworksConfig.filter
2321
)
2422
);
2523

26-
export const supportedNetworksWithEnabledMarketLimit = [
27-
{ ...getNetworkConfig(ChainId.arbitrum_one), chainId: ChainId.arbitrum_one },
28-
];
29-
// supportedNetworksConfig.filter((elem) =>
30-
// Object.values(marketsData).find(
31-
// (market) => market.chainId === elem.chainId && market.enabledFeatures?.limit
32-
// )
33-
// );
24+
export const supportedNetworksWithEnabledMarketLimit = supportedNetworksConfig.filter((elem) =>
25+
Object.values(marketsData).find(
26+
(market) => market.chainId === elem.chainId && market.enabledFeatures?.limit
27+
)
28+
);

0 commit comments

Comments
 (0)