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