Skip to content

Commit

Permalink
update default authen
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Jul 19, 2023
1 parent 4fbdd49 commit 980c096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useKyberSwapConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const parseGlobalResponse = (
): KyberswapGlobalConfig => {
const data = responseData?.data?.config
const aggregatorDomain = data?.aggregator ?? AGGREGATOR_API
const isEnableAuthenAggregator = !data ? true : !!data?.isEnableAuthenAggregator
const isEnableAuthenAggregator = !!data?.isEnableAuthenAggregator
return {
aggregatorDomain,
aggregatorAPI: `${aggregatorDomain}/${NETWORKS_INFO[chainId].aggregatorRoute}/route/encode`,
Expand Down

0 comments on commit 980c096

Please sign in to comment.