diff --git a/src/constants/networks/linea.ts b/src/constants/networks/linea.ts index 239bc7ea12..8b3f1cf19e 100644 --- a/src/constants/networks/linea.ts +++ b/src/constants/networks/linea.ts @@ -8,7 +8,7 @@ const EMPTY = '' const EMPTY_ARRAY: any[] = [] const NOT_SUPPORT = null -const lineaTestnetInfo: EVMNetworkInfo = { +const lineaInfo: EVMNetworkInfo = { chainId: ChainId.LINEA, route: 'linea', ksSettingRoute: 'linea', @@ -70,4 +70,4 @@ const lineaTestnetInfo: EVMNetworkInfo = { geckoTermialId: NOT_SUPPORT, } -export default lineaTestnetInfo +export default lineaInfo diff --git a/src/hooks/useKyberSwapConfig.ts b/src/hooks/useKyberSwapConfig.ts index 6a0fb2d4f0..e49c31df91 100644 --- a/src/hooks/useKyberSwapConfig.ts +++ b/src/hooks/useKyberSwapConfig.ts @@ -65,8 +65,7 @@ const parseGlobalResponse = ( chainId: ChainId, ): KyberswapGlobalConfig => { const data = responseData?.data?.config - // TODO: revert - const aggregatorDomain = AGGREGATOR_API ?? data?.aggregator ?? AGGREGATOR_API + const aggregatorDomain = data?.aggregator ?? AGGREGATOR_API const isEnableAuthenAggregator = !!data?.isEnableAuthenAggregator return { aggregatorDomain,