Skip to content

Commit

Permalink
Merge pull request #1608 from 0xoscario/apr
Browse files Browse the repository at this point in the history
  • Loading branch information
sameepsi authored Nov 11, 2024
2 parents 7526d77 + 5a686da commit e122841
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/FarmPage/V3/AllMerklFarms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ const AllMerklFarms: React.FC<Props> = ({

const v3Farms = farms
.map((item: any) => {
const apr = item.meanAPR;
// const apr = item.meanAPR;
const apr = Math.max(
...item.alm.map((item_farm) => item_farm.poolAPR + item_farm.almAPR),
);
const title = (item.symbolToken0 ?? '') + (item.symbolToken1 ?? '');
// const rewardItems: any[] = (item?.distributionData ?? []).filter(
// (reward: any) => reward.isLive && !reward.isMock,
Expand Down

0 comments on commit e122841

Please sign in to comment.