From 39dfd503247a4d6133f0b1feef669ca99445cd40 Mon Sep 17 00:00:00 2001 From: Patrick Bennett Date: Sun, 20 Oct 2024 12:57:06 -0400 Subject: [PATCH] fix(ui): number of stakers wasn't being displayed properly because of bigint issues --- ui/src/components/ValidatorInfoRow.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ValidatorInfoRow.tsx b/ui/src/components/ValidatorInfoRow.tsx index 81652139..02293966 100644 --- a/ui/src/components/ValidatorInfoRow.tsx +++ b/ui/src/components/ValidatorInfoRow.tsx @@ -62,7 +62,8 @@ export function ValidatorInfoRow({ validator, constraints }: ValidatorInfoRowPro {validator.state.numPools > 0 ? ( <> - {validator.state.totalStakers} / {calculateMaxStakers(validator, constraints)} + {validator.state.totalStakers.toString()} /{' '} + {calculateMaxStakers(validator, constraints)} ) : ( <>--