From 405b57ef7fc4402eec4be2e70b34113e046b71f1 Mon Sep 17 00:00:00 2001 From: Jibril Date: Tue, 25 Nov 2025 16:39:13 -0600 Subject: [PATCH 1/2] Added logic to show blank screen before bringing user to Dashboard --- apps/web/src/app/sign-in/[[...sign-in]]/page.tsx | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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 ada2756..d5c790d 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}

- +