Skip to content

Commit

Permalink
fix(ui): number of stakers wasn't being displayed properly because of…
Browse files Browse the repository at this point in the history
… bigint issues
  • Loading branch information
pbennett committed Oct 20, 2024
1 parent 6e2815f commit 39dfd50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/ValidatorInfoRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ export function ValidatorInfoRow({ validator, constraints }: ValidatorInfoRowPro
<span className="whitespace-nowrap">
{validator.state.numPools > 0 ? (
<>
{validator.state.totalStakers} / {calculateMaxStakers(validator, constraints)}
{validator.state.totalStakers.toString()} /{' '}
{calculateMaxStakers(validator, constraints)}
</>
) : (
<>--</>
Expand Down

0 comments on commit 39dfd50

Please sign in to comment.