From ad79285795551876fb8312755baadba1030ba763 Mon Sep 17 00:00:00 2001 From: selankon Date: Mon, 11 Nov 2024 09:55:56 -0300 Subject: [PATCH] Fix isWeighted --- src/components/Process/Aside.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Process/Aside.tsx b/src/components/Process/Aside.tsx index 81ad39e..c2b831d 100644 --- a/src/components/Process/Aside.tsx +++ b/src/components/Process/Aside.tsx @@ -218,6 +218,7 @@ export const VoteButton = (props: VoteButtonProps) => { return null } + const isWeighted = Number(election?.census.weight) !== election?.census.size const isBlindCsp = census?.type === 'csp' && election?.meta.csp?.service === 'vocdoni-blind-csp' return (