Skip to content

Commit

Permalink
Remove toNumber() conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
SolBlazeDev authored Aug 16, 2023
1 parent a6b3d7f commit 46df902
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const TokenDepositLock = ({
/>
</div>
) : null}
{votingPower.toNumber() > 0 && (
{!votingPower.isZero() && (
<div className="flex space-x-4 items-center mt-4">
<VotingPowerBox
votingPower={votingPower}
Expand Down

0 comments on commit 46df902

Please sign in to comment.