You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Move redirect logic to useEffect to prevent SSR issues
The redirect logic was previously running directly in the component body,
which could cause issues with React's rendering and Next.js SSR/hydration.
Moving it to useEffect ensures it only runs on the client side after mount.
This should fix the Vercel deployment failure.
0 commit comments