diff --git a/frontend/src/components/OrganizerGroupBox.tsx b/frontend/src/components/OrganizerGroupBox.tsx
index bfed397..2ca2608 100644
--- a/frontend/src/components/OrganizerGroupBox.tsx
+++ b/frontend/src/components/OrganizerGroupBox.tsx
@@ -108,7 +108,6 @@ export function OrganizerGroupBox({
className={
breakMedium ? classes.buttonStyle : classes.smallButtonStyle
}
- color="gray"
onClick={() => handleEditAssemblyClick(group)}
data-testid={editAssemblyTestID}
>
@@ -120,7 +119,6 @@ export function OrganizerGroupBox({
className={
breakMedium ? classes.buttonStyle : classes.smallButtonStyle
}
- color="gray"
onClick={() => handleEditAssemblyClick(group)}
data-testid={editAssemblyTestID}
>
diff --git a/frontend/src/components/OrganizerList.tsx b/frontend/src/components/OrganizerList.tsx
index 4205094..0477da2 100644
--- a/frontend/src/components/OrganizerList.tsx
+++ b/frontend/src/components/OrganizerList.tsx
@@ -72,6 +72,3 @@ export function OrganizerList() {
>
);
}
-function then(arg0: () => void) {
- throw new Error("Function not implemented.");
-}
diff --git a/frontend/src/components/QrCode.tsx b/frontend/src/components/QrCode.tsx
index 3609b0a..3cf488b 100644
--- a/frontend/src/components/QrCode.tsx
+++ b/frontend/src/components/QrCode.tsx
@@ -22,7 +22,7 @@ export function QrCode() {
}, []);
return !QRData ? (
-
+
) : (
(true);
const { groupSlug } = useParams() as { groupSlug: string };
const [groupName, setGroupName] = useState(undefined);
const [groupNotFound, setGroupNotFound] = useState(false);
@@ -28,7 +29,7 @@ export function AssemblyLobby() {
const { lastMessage, getWebSocket } = useWebSocket(
import.meta.env.VITE_SOCKET_URL + "/lobby",
{
- //Will attempt to reconnect on all close events, such as server shutting down
+ // Will attempt to reconnect on all close events, such as server shutting down
shouldReconnect: () => !kickedOut,
// Try to reconnect 300 times before giving up.
// Also possible to change interval (default is 5000ms)
@@ -54,6 +55,7 @@ export function AssemblyLobby() {
} else {
setCheckedIn(false);
}
+ setLoading(false);
};
const getGroupName = async () => {
const userData = await getUserData();
@@ -112,6 +114,8 @@ export function AssemblyLobby() {
return groupNotFound ? (
// Render 404 not found component if group is not found
+ ) : isLoading ? (
+
) : (
<>
{!checkedIn && (