diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index aaf20c3e..3bdc09f4 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -51,7 +51,7 @@ import { export default function Dashboard() { const navigate = useNavigate(); - const { user, profile, loading: authLoading, updateProfile } = useAuth(); + const { user, profile, loading: authLoading, updateProfile, profileComplete } = useAuth(); const [displayName, setDisplayName] = useState(""); const [locationInput, setLocationInput] = useState(""); const [bio, setBio] = useState(""); @@ -273,8 +273,8 @@ export default function Dashboard() { ); } - // Show profile setup if no profile exists, but allow dashboard to continue - const showProfileSetup = !profile || profileCompletion < 80; + // Hide setup banner once onboarding is complete + const showProfileSetup = !profileComplete; const statsDisplay = [ { @@ -490,6 +490,9 @@ export default function Dashboard() { > Level {profile?.level || 1} + {profileComplete && ( + Profile Complete + )} {/* XP Progress */}