Skip to content

Commit

Permalink
Add missing dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Nov 15, 2024
1 parent 4d94f49 commit 562beb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const SubElectionQuestions = (props: ChakraProps) => {
// ensure the client is set to the root one
useEffect(() => {
setClient(rootClient)
}, [rootClient])
}, [election, rootClient])

// Add the sub election to the state cache
useEffect(() => {
Expand Down

0 comments on commit 562beb1

Please sign in to comment.