Skip to content

Commit

Permalink
chore: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
damnnou committed Apr 11, 2024
1 parent c88d90a commit 3429048
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/farming/ActiveFarming/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ const ActiveFarming = ({
address: farming.farming.virtualPool,
})

const rewardRate = rates ? rates[0] : 0n;
const bonusRewardRate = rates ? rates[1] : 0n;
const [rewardRate, bonusRewardRate] = rates || [0n, 0n];

const rewardRatePerDay =
Number(
Expand Down

0 comments on commit 3429048

Please sign in to comment.