fix issues

This commit is contained in:
2026-01-01 20:31:05 +01:00
parent 9005a8327c
commit 206a03ec48
267 changed files with 3632 additions and 452 deletions

View File

@@ -113,11 +113,9 @@ export function RouteGuard({
// Show redirecting state
if (!accessState.canAccess && config.redirectOnUnauthorized !== false) {
return (
<div className="flex items-center justify-center min-h-screen">
<LoadingState message="Redirecting to login..." className="min-h-screen" />
</div>
);
// Don't show a message, just redirect silently
// The redirect happens in the useEffect above
return null;
}
// Render protected content