Skip to content

Commit 11e09ca

Browse files
committed
UI: change
1 parent e20f430 commit 11e09ca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

frontend/src/app/(patient)/dashboard/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ export default function PatientDashboardLayout({
4848
}
4949
}, [auth.isRestoring, auth.accessToken, router]);
5050

51-
if (auth.isRestoring) return <div className="flex h-screen items-center justify-center">Loading...</div>;
51+
if (auth.isRestoring) return <div className="flex items-center justify-center min-h-[60vh]">
52+
<div className="relative">
53+
<div className="h-16 w-16 rounded-full border-4 border-slate-100 border-t-blue-600 animate-spin"></div>
54+
</div>
55+
</div>;
5256
if (!auth.accessToken) return null;
5357

5458
// Safely extract initials

0 commit comments

Comments
 (0)