diff --git a/frontend/src/pages/AssemblyPage.tsx b/frontend/src/pages/AssemblyPage.tsx index 6431cfe..c8a33f6 100644 --- a/frontend/src/pages/AssemblyPage.tsx +++ b/frontend/src/pages/AssemblyPage.tsx @@ -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(undefined); const [kickedOut, setKickedOut] = useState(false); const [activeVotation, setActiveVotation] = useState(false); @@ -29,7 +29,6 @@ export function AssemblyLobby() { const { checkedIn, setCheckedIn } = useContext( checkedInState ) as checkedInType; - const [groupName, setGroupName] = useState(""); useEffect(() => { // Redirect to waiting room if already checked in