add render once to use effect

This commit is contained in:
Maidul Islam
2024-04-06 11:40:13 -07:00
parent 055fd34c33
commit 0a52bbd55d

View File

@@ -42,7 +42,7 @@ export const InitialStep = ({ setStep, email, setEmail, password, setPassword }:
); );
window.close(); window.close();
} }
}) }, [])
const handleLogin = async (e: FormEvent<HTMLFormElement>) => { const handleLogin = async (e: FormEvent<HTMLFormElement>) => {
e.preventDefault(); e.preventDefault();