diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index a40da365..9fee906b 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -563,12 +563,7 @@ export default function Dashboard() { } }; - // If no user and auth is resolved, let the redirect happen without flashing a loader - if (!user && !authLoading) { - return null; - } - - // Show loading only while auth or data is loading + // Show loading while auth is resolving if (authLoading || isLoading) { return ( +
+

Welcome to AeThex

+

+ You need to be signed in to access the dashboard +

+ +
+ + ); + } + + // If user but no profile, show incomplete profile message + if (!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;