diff --git a/packages/chakra-components/src/components/Election/VoteButton.tsx b/packages/chakra-components/src/components/Election/VoteButton.tsx index 1e3e54f..ba7ed96 100644 --- a/packages/chakra-components/src/components/Election/VoteButton.tsx +++ b/packages/chakra-components/src/components/Election/VoteButton.tsx @@ -109,7 +109,7 @@ export const VoteWeight = () => { })() }, [client, election]) - if (!weight || !election || !(election instanceof PublishedElection)) return <> + if (!weight || !election || !(election instanceof PublishedElection)) return null return (