We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c5510d commit a3303cfCopy full SHA for a3303cf
src/app/playerDashboard/page.tsx
@@ -11,8 +11,6 @@ import GameData from "@/database/gameDataSchema";
11
//TEST IT OUT!
12
//hi u can return <h1>{userId}</h1>; below, then paste ur userId into mongo and yay u can see progress
13
14
-type GameId = "statesOfMatterGame" | "penguinRunGame";
15
-
16
export default async function PlayerDashboard() {
17
// VERY helpful info if your confused on auth https://clerk.com/docs/reference/nextjs/app-router/auth
18
const { userId } = await auth.protect(); //redirects if signed out
0 commit comments