mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
fix: reset pwd
This commit is contained in:
parent
a18a8885af
commit
85aeb3f301
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user