Skip to content

Commit

Permalink
Export component
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Oct 21, 2024
1 parent 41fb9b5 commit a3a9997
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const ElectionQuestion = (props: ChakraProps) => {
export type SubElectionState = { election: PublishedElection } & Pick<ElectionState, 'vote' | 'isAbleToVote' | 'voted'>
export type ElectionStateStorage = Record<string, SubElectionState>

const SubElectionQuestions = (props: ChakraProps) => {
export const SubElectionQuestions = (props: ChakraProps) => {
const { rootClient, addElection, elections } = useQuestionsForm()
const { election, setClient, vote, connected, clearClient, isAbleToVote, voted } = useElection()

Expand Down

0 comments on commit a3a9997

Please sign in to comment.