diff --git a/apps/web/src/app/sign-in/[[...sign-in]]/page.tsx b/apps/web/src/app/sign-in/[[...sign-in]]/page.tsx index ada2756c..d5c790d6 100644 --- a/apps/web/src/app/sign-in/[[...sign-in]]/page.tsx +++ b/apps/web/src/app/sign-in/[[...sign-in]]/page.tsx @@ -1,15 +1,24 @@ -// "use client" -import { SignIn } from "@clerk/nextjs"; +"use client"; +import { SignIn, useAuth } from "@clerk/nextjs"; import { Button } from "@/components/ui/button"; import c from "config"; import Link from "next/link"; import PortalMigrationExplainer from "@/components/dash/shared/PortalMigrationExplainer"; + export default function Page() { + const {isLoaded } = useAuth(); + + if (!isLoaded) { + return ( +
+
+ ); + } return (

{c.clubName}

- +