Skip to content

Commit

Permalink
Actualizar Register.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago0108 authored May 7, 2024
1 parent 2d832d7 commit 93a514b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/components/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,6 @@ export default function SignUp() {
}
};

const handleEmailValidation = (email) => {
if (!validateEmail(email)) {
setEmailError('Ingrese un correo electrónico válido');
} else {
setEmailError('');
}
};

const handlePasswordValidation = (password) => {
if (!validatePassword(password)) {
setPasswordError('La contraseña debe tener al menos 6 caracteres, una mayúscula y un carácter especial');
} else {
setPasswordError('');
}
};


const handleSubmit = async (event) => {
Expand Down

0 comments on commit 93a514b

Please sign in to comment.