Skip to content

Commit

Permalink
Fix isWeighted
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Nov 11, 2024
1 parent 94213c4 commit ad79285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Process/Aside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit ad79285

Please sign in to comment.