error define
This commit is contained in:
@@ -110,7 +110,11 @@ export default function RegisterPage() {
|
||||
isValid = false;
|
||||
}
|
||||
|
||||
setErrors(newErrors);
|
||||
setErrors({
|
||||
...newErrors,
|
||||
birthDate: '',
|
||||
verificationCode: '',
|
||||
});
|
||||
return isValid;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user