diff --git a/pages/mod-queue.page.tsx b/pages/mod-queue.page.tsx
index 59edd56..15313ca 100644
--- a/pages/mod-queue.page.tsx
+++ b/pages/mod-queue.page.tsx
@@ -9,8 +9,12 @@ import {
} from "@chakra-ui/react";
import { lazy, useState } from "react";
const AppealCard = lazy(() => import("../components/AppealCard"));
+import Login from "../components/Login";
export function Page(pageProps: { [p: string]: any }) {
+ if (!pageProps.logged_in)
+ return ;
+
const isDesktop = useBreakpointValue({ base: false, lg: true });
const entryTypes = [];
const [entries, setEntries] = useState([] as JSX.Element[]);
@@ -66,10 +70,10 @@ export function Page(pageProps: { [p: string]: any }) {
}
return (
-
+
- {entries}
-
+ {entries}
+