diff --git a/client/src/components/DashboardLayout.tsx b/client/src/components/DashboardLayout.tsx index 89d9941..81ecfab 100644 --- a/client/src/components/DashboardLayout.tsx +++ b/client/src/components/DashboardLayout.tsx @@ -104,29 +104,8 @@ export default function DashboardLayout({ } if (!user) { - return ( -
-
-
-

- Sign in to continue -

-

- Access to this dashboard requires authentication. Continue to launch the login flow. -

-
- -
-
- ); + window.location.href = "/login"; + return ; } return (