From ad8da032616cbaffce217d451f0d78646f49501a Mon Sep 17 00:00:00 2001 From: devartes Date: Wed, 11 Jan 2023 09:55:29 -0300 Subject: [PATCH] =?UTF-8?q?refactor(schema.tsx):=20removendo=20*=20desnece?= =?UTF-8?q?ss=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Main/schema.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Main/schema.tsx b/src/components/Main/schema.tsx index 89efef1..8f1f4d0 100644 --- a/src/components/Main/schema.tsx +++ b/src/components/Main/schema.tsx @@ -31,5 +31,5 @@ export default Yup.object().shape({ .required("*Campo Obrigatório"), cpf: Yup.string().matches(cpf, "Cpf Inválido").required("*Campo Obrigatório"), instagram: Yup.string().matches(instagram, "Nome de Usuário Inválido"), - checkbox: Yup.boolean().oneOf([true], "*"), + checkbox: Yup.boolean().oneOf([true]), });