Skip to content

Commit

Permalink
Merge pull request #18 from stratosnet/online-voting-power-fix
Browse files Browse the repository at this point in the history
Fix/QB-2404: Fix online voting power
  • Loading branch information
alexstratos authored Feb 21, 2024
2 parents 86f2096 + 2d70ba8 commit ec6cd54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const OnlineVotingPower: FC<ComponentDefault> = () => {
<Typography variant="h2">{t('onlineVotingPower')}</Typography>
<div className={classes.data}>
<Typography variant="h3" className="primary__data">
{`${votingPowerPercent.format('0,0.00', (n) => Math.floor(n))}%`}
{`${votingPowerPercent.format('0,0.00', (n) => Math.round(n))}%`}
</Typography>
<Typography variant="body1">
{numeral(state.votingPower).format('0,0')} /{' '}
Expand Down

0 comments on commit ec6cd54

Please sign in to comment.