From 436c9da65a15f1d048440aefe45820cc7ab6b7fd Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Thu, 4 Jul 2024 14:54:43 +0700 Subject: [PATCH] chore: rename todos --- src/components/TradeRouting/index.tsx | 2 +- src/constants/permit.ts | 2 +- src/hooks/useChainsConfig.ts | 2 +- src/services/coingecko.ts | 2 +- src/state/farms/classic/knUpdater.tsx | 2 +- src/state/pools/hooks.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/TradeRouting/index.tsx b/src/components/TradeRouting/index.tsx index 4b95a5261b..a6e611f465 100644 --- a/src/components/TradeRouting/index.tsx +++ b/src/components/TradeRouting/index.tsx @@ -74,7 +74,7 @@ const RouteRow = ({ route, chainId, backgroundColor }: RouteRowProps) => { const dex = getDexInfoByPool(pool, allDexes) const poolId = pool.id.split('-')?.[0] const link = (i => { - // TODO: Dungz remove condition + // TODO: viet-nv remove condition return isAddress(chainId, poolId) && !['1inch', 'paraswap', '0x'].includes(pool.exchange) ? ( { // : farmPool.version === 2 // ? FairLaunchVersion.V2 // : FairLaunchVersion.V3 - // todo namgold: subgraph issue, revert this later + // todo viet-nv: subgraph issue, revert this later const version: FairLaunchVersion = Number(farmPool.start) < 1_000_000_000 ? FairLaunchVersion.V1 : FairLaunchVersion.V2 const rewardTokens: Token[] = farmPool.rewardTokens.map(({ id, decimals, symbol, name }) => diff --git a/src/state/pools/hooks.ts b/src/state/pools/hooks.ts index 7694657542..6eac354ac7 100644 --- a/src/state/pools/hooks.ts +++ b/src/state/pools/hooks.ts @@ -215,7 +215,7 @@ async function getBulkPoolDataWithPagination( current.data.pools.map(async (pool: any) => { let data = { ...pool } const oneDayHistory = oneDayData?.[pool.id] - // TODO nguyenhuudungz: If number of pools > 1000 then uncomment this. + // TODO viet-nv: If number of pools > 1000 then uncomment this. // if (!oneDayHistory) { // const newData = await apolloClient.query({ // query: POOL_DATA(pool.id, b1),