We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5b3fcc commit 17b3538Copy full SHA for 17b3538
1 file changed
frontend/src/components/app/AppShell.tsx
@@ -68,8 +68,8 @@ function AuthGate({ children }: { children: React.ReactNode }) {
68
)
69
70
if (user) return <>{children}</>
71
- // First visit auth loading.
72
- if (loading) return renderGateStatus("Checking your session...")
+ // Keep existing shell visible during transient auth loading (prevents sidebar flicker/disappear).
+ if (loading) return <>{children}</>
73
// Not authenticated, redirecting away from dashboard.
74
if (!user) return renderGateStatus("Redirecting to sign-in...")
75
return <>{children}</>
0 commit comments