Skip to content

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
edalholt committed Sep 8, 2023
1 parent fb13321 commit fa93ef3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/pages/AssemblyPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import { Box, Image, Text } from "@mantine/core";
import Arrow from "../assets/Arrow.svg";
import { getCurrentVotationByGroup } from "../services/votation";
import { LimitedVoteType } from "../types/votes";
import { UserDataResponseType } from "../types/user";
import { getUserData } from "../services/organizer";

export function AssemblyLobby() {
let navigate = useNavigate();
const { groupSlug } = useParams() as { groupSlug: string };
const [groupName, setGroupName] = useState<string | undefined>(undefined);

const [kickedOut, setKickedOut] = useState<boolean>(false);
const [activeVotation, setActiveVotation] = useState<boolean>(false);
Expand All @@ -29,7 +29,6 @@ export function AssemblyLobby() {
const { checkedIn, setCheckedIn } = useContext(
checkedInState
) as checkedInType;
const [groupName, setGroupName] = useState<string>("");

useEffect(() => {
// Redirect to waiting room if already checked in
Expand Down

0 comments on commit fa93ef3

Please sign in to comment.