From cc5469a7dcc37e96c0449acc81956d81d4b31ba6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 16 Aug 2025 04:23:36 +0000 Subject: [PATCH] Fix Dashboard to show profile setup instead of null when no profile exists cgen-ff17344e1fe040a794ee6bfb00d22f82 --- client/pages/Dashboard.tsx | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index 06152c07..185e9102 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -155,9 +155,42 @@ export default function Dashboard() { ); } - // Don't render if no profile + // Show profile setup if no profile exists if (!profile) { - return null; + return ( + +
+ + + Welcome to AeThex! + + Let's set up your profile to get started + + + +

+ We need to create your profile to access the dashboard. +

+
+ + +
+
+
+
+
+ ); } const statsDisplay = [