Skip to content

Commit

Permalink
Merge pull request #10 from cryptoalgebra/master
Browse files Browse the repository at this point in the history
Merge master to dev
  • Loading branch information
lilchizh authored Mar 22, 2024
2 parents f5b2038 + a9511dc commit 7f4a0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/pools/PoolsList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const PoolsList = () => {
fee: Number(fee) / 10_000,
tvlUSD: Number(totalValueLockedUSD),
volume24USD: Number(volumeUSD),
maxApr: poolsMaxApr[id].toFixed(2),
avgApr: poolsAvgApr[id].toFixed(2),
maxApr: poolsMaxApr[id] ? poolsMaxApr[id].toFixed(2) : 0,
avgApr: poolsAvgApr[id] ? poolsAvgApr[id].toFixed(2) : 0,
})
);
}, [pools, poolsMaxApr, poolsAvgApr]);
Expand Down

0 comments on commit 7f4a0ee

Please sign in to comment.