From 2730e71d9746b0ad7c617be460d65dc0426b0ed5 Mon Sep 17 00:00:00 2001 From: Martin Dobrev Date: Wed, 3 Jan 2024 07:50:57 +0200 Subject: [PATCH] Check for boosted pools updated Signed-off-by: Martin Dobrev --- src/components/FarmRow.tsx | 2 +- src/components/PoolInfo.tsx | 2 +- src/constants/index.ts | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/FarmRow.tsx b/src/components/FarmRow.tsx index ae3a316e..f6627b0f 100644 --- a/src/components/FarmRow.tsx +++ b/src/components/FarmRow.tsx @@ -94,7 +94,7 @@ const FarmRow = ({ farmData, index, handleRowClick }: IFarmRowProps) => { ) : null} - {boostedPools.includes(farmData.poolData.pairAddress) ? ( + {boostedPools.length > 0 && boostedPools.includes(farmData.poolData.pairAddress) ? ( <> Super Farm diff --git a/src/components/PoolInfo.tsx b/src/components/PoolInfo.tsx index cb036584..3b4c4ff5 100644 --- a/src/components/PoolInfo.tsx +++ b/src/components/PoolInfo.tsx @@ -507,7 +507,7 @@ const PoolInfo = ({ ) : null} - {boostedPools.includes(poolData.pairAddress) ? ( + {boostedPools.length > 0 && boostedPools.includes(poolData.pairAddress) ? ( <> Super Farm diff --git a/src/constants/index.ts b/src/constants/index.ts index 3c15d41f..2727d741 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -158,10 +158,7 @@ export const restrictedFarms = [ export const bladeClaimdropAddress = '0x00000000000000000000000000000000002fe4bd'; -export const boostedPools = [ - '0x5718F1127E025C6745835faCF551283481630423', - '0xEc9396Fd1019a6644534Ce7905183F495bC86baf', -]; +export const boostedPools: string[] = []; export const notVerifiedTokens = [ '0x00000000000000000000000000000000002A30A8',