Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Jul 28, 2023
1 parent 1fd5089 commit 24c49a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/constants/networks/linea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -70,4 +70,4 @@ const lineaTestnetInfo: EVMNetworkInfo = {
geckoTermialId: NOT_SUPPORT,
}

export default lineaTestnetInfo
export default lineaInfo
3 changes: 1 addition & 2 deletions src/hooks/useKyberSwapConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 24c49a4

Please sign in to comment.