fix: reset state of phone form on cancel
This commit is contained in:
@@ -118,6 +118,7 @@ export function PhoneNumber() {
|
|||||||
setPhoneNumberTouched(false);
|
setPhoneNumberTouched(false);
|
||||||
setVerificationCodeError(undefined);
|
setVerificationCodeError(undefined);
|
||||||
setVerificationCodeTouched(false);
|
setVerificationCodeTouched(false);
|
||||||
|
setIsCodeSent(false);
|
||||||
}
|
}
|
||||||
return !prev;
|
return !prev;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user