completionId: cgen-a54fc9f4577c45e790650e73edb48ffb
cgen-a54fc9f4577c45e790650e73edb48ffb
This commit is contained in:
parent
5659e68b4d
commit
a8a517b318
1 changed files with 5 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue