Skip to content

Commit

Permalink
Merge pull request #677 from HeliSwap/label-removed
Browse files Browse the repository at this point in the history
Check for boosted pools updated
  • Loading branch information
RAMTO authored Jan 3, 2024
2 parents 1d60e6e + 2730e71 commit c440542
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/FarmRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const FarmRow = ({ farmData, index, handleRowClick }: IFarmRowProps) => {
</>
) : null}

{boostedPools.includes(farmData.poolData.pairAddress) ? (
{boostedPools.length > 0 && boostedPools.includes(farmData.poolData.pairAddress) ? (
<>
<span className="text-micro text-uppercase badge bg-success ms-3">Super Farm</span>
<Tippy content="This Yield Farm has increased HBAR Rewards (almost 50% of USD Reward Value are HBAR)">
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoolInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ const PoolInfo = ({
</>
) : null}

{boostedPools.includes(poolData.pairAddress) ? (
{boostedPools.length > 0 && boostedPools.includes(poolData.pairAddress) ? (
<>
<span className="text-micro text-uppercase badge bg-success ms-3">Super Farm</span>
<Tippy content="This Pool’s Yield Farm has increased HBAR Rewards (almost 50% of USD Reward Value are HBAR)">
Expand Down
5 changes: 1 addition & 4 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ export const restrictedFarms = [

export const bladeClaimdropAddress = '0x00000000000000000000000000000000002fe4bd';

export const boostedPools = [
'0x5718F1127E025C6745835faCF551283481630423',
'0xEc9396Fd1019a6644534Ce7905183F495bC86baf',
];
export const boostedPools: string[] = [];

export const notVerifiedTokens = [
'0x00000000000000000000000000000000002A30A8',
Expand Down

0 comments on commit c440542

Please sign in to comment.