diff --git a/app/[gameID]/page.tsx b/app/[gameID]/page.tsx index 260106f..4564230 100644 --- a/app/[gameID]/page.tsx +++ b/app/[gameID]/page.tsx @@ -22,6 +22,8 @@ export default function GamePage() { cards: [], }); + const isDM = !!dmID; + useEffect(() => { if (gameIDParam) { setGameID(Array.isArray(gameIDParam) ? gameIDParam[0] : gameIDParam); diff --git a/app/page.tsx b/app/page.tsx index 71bfa07..6b11987 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -19,7 +19,7 @@ export default function Home() {
diff --git a/components/NotFound.tsx b/components/NotFound.tsx index e89a9f5..e209856 100644 --- a/components/NotFound.tsx +++ b/components/NotFound.tsx @@ -1,3 +1,5 @@ +import Link from 'next/link'; + export default function Custom404() { return (
@@ -5,6 +7,11 @@ export default function Custom404() {

The game you're looking for doesn't exist or has expired.

+ + +
); }