Entrega do Desafio #2

Merged
anacarolinaduartecavalcante merged 81 commits from develop into main 2023-01-14 14:05:45 +00:00
Showing only changes of commit 4f1a5c9257 - Show all commits

View File

@ -34,7 +34,6 @@ const Contato = () => {
validationSchema={schema}
onSubmit={(values: FormArea, actions) => {
actions.resetForm();
console.log(values);
if (
values.checkbox === true &&
values.cpf !== "" &&
@ -44,7 +43,6 @@ const Contato = () => {
values.birthDate !== ""
) {
setIsValidate(true);
console.log(isValidate);
}
}}
initialValues={initialValues}