completionId: cgen-a54fc9f4577c45e790650e73edb48ffb

cgen-a54fc9f4577c45e790650e73edb48ffb
This commit is contained in:
Builder.io 2025-11-06 01:48:43 +00:00
parent 5659e68b4d
commit a8a517b318

View file

@ -646,6 +646,11 @@ export default function Dashboard() {
((profile as any)?.user_type as RealmKey) ||
"community_member") as RealmKey;
// Show loading screen while auth is resolving or if user is not authenticated
if (authLoading || !user) {
return <LoadingScreen />;
}
return (
<Layout>
<div className="min-h-screen bg-aethex-gradient py-8">