File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
src/components/transactions/Switch Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 1- import { ChainId } from '@aave/contract-helpers' ;
21import { BaseNetworkConfig } from 'src/ui-config/networksConfig' ;
32import {
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+ ) ;
You can’t perform that action at this time.
0 commit comments