verify code/otp
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user