From e28203cd19e903cb053d7d5c6e3d13f26e4b5278 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Thu, 13 Nov 2025 03:56:25 +0000 Subject: [PATCH] completionId: cgen-e0186868ef1f49b297847127158a8df3 cgen-e0186868ef1f49b297847127158a8df3 --- client/pages/Dashboard.tsx | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index 83480ec6..adf37f2d 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -579,8 +579,8 @@ export default function Dashboard() { } }; - // Show loading while auth is resolving - if (authLoading || isLoading) { + // Show loading while auth is resolving OR profile is loading + if (authLoading || isLoading || (user && !profile)) { return ( -
-
-

- Complete Your Profile -

-

- Let's set up your profile to get started with AeThex -

- -
-
-
- ); - } - // Hide setup banner once onboarding is complete const showProfileSetup = !profileComplete;