verify code/otp

This commit is contained in:
Muhammad Fajar
2022-11-14 14:31:48 +07:00
parent 23be392f18
commit 05bb1f3c7e
4 changed files with 22 additions and 20 deletions

View File

@@ -42,10 +42,10 @@ export default function Login() {
};
useEffect(() => {
// if (state !== null) {
// setFormPhone(state.formPhone);
// }
// console.log(state);
if (state !== null) {
setFormPhone(state.formPhone);
}
console.log(state);
}, [state]);
return (