From 18e3c2edc295a4b7249116942f5e8d056001a66a Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Fri, 8 Aug 2025 10:16:37 +0000 Subject: [PATCH] Fix authentication check to prevent loading screen getting stuck cgen-2b7c09dad5b5420383a06b146d7efa2d --- client/pages/Dashboard.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index f141e7b5..3a106665 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -131,8 +131,8 @@ export default function Dashboard() { } }; - // Return early if not authenticated - if (authLoading || !user || !profile) { + // Return early if auth is still loading + if (authLoading) { return (