-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Problem: In src/app/settings/settingsClient.tsx direct localStorage usage without SSR safety checks can cause hydration mismatches in Next.js server-side rendering contexts.
Context: This line is executed in handleGithubOAuthDisconnect function within a client component, but without checking if window is defined or using proper SSR-safe patterns.
Expected Behavior: localStorage operations should only occur on the client side after hydration is complete, typically wrapped in useEffect or with typeof window !== 'undefined' checks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels