Skip to content

Commit 77b0ba9

Browse files
tyler-daneCopilot
andauthored
Update packages/web/src/auth/UserProvider.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 5cc9ad4 commit 77b0ba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/src/auth/UserProvider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ export const UserProvider = ({ children }: { children: ReactNode }) => {
5757
}, [userId, email, posthog]);
5858

5959
// Allow unauthenticated users to proceed without blocking
60-
// Only show loader briefly while checking auth status
60+
// Show a loading state while checking auth status
6161
// Unauthenticated users will have profile.current === null, which is fine
6262
if (isLoadingUser && profile.current === null) {
63-
// Brief loading state - but don't block indefinitely
63+
// Loading state while user profile is being fetched
6464
// The route loader handles auth redirects
6565
return <AbsoluteOverflowLoader />;
6666
}

0 commit comments

Comments
 (0)