diff --git a/src/pages/sign-in.tsx b/src/pages/sign-in.tsx index 44389e2..c6788dc 100644 --- a/src/pages/sign-in.tsx +++ b/src/pages/sign-in.tsx @@ -281,7 +281,9 @@ const SignIn = () => { const [alertVisible, setAlertVisible] = React.useState(true); React.useEffect(() => { - if (session && !isPasswordReset) push("/editor"); + if (isReady && session && !isPasswordReset) { + push("/editor"); + } }, [isReady, session, push, isPasswordReset]); return (