Skip to content

Commit

Permalink
Merge branch 'main' into sandbox-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefranze committed Dec 17, 2023
2 parents 3b91288 + cc64c92 commit 0e547c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/hooks/useAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { Election } from "@domain_model/Election";
import { VoterAuth } from '@domain_model/VoterAuth';
import { ElectionRoll } from "@domain_model/ElectionRoll";
import useFetch from "./useFetch";
import { Ballot } from "../../../domain_model/Ballot";
import { ElectionResults } from "../../../domain_model/ITabulators";
import { VotingMethod } from "../../../domain_model/Race";
import { VotingMethod } from "@domain_model/Race";
import { ElectionResults } from "@domain_model/ITabulators";
import { Ballot } from "@domain_model/Ballot";

export const useGetElection = (electionID: string | undefined) => {
return useFetch<undefined, { election: Election, voterAuth: VoterAuth }>(`/API/Election/${electionID}`, 'get')
Expand Down

0 comments on commit 0e547c1

Please sign in to comment.