From 7b17b6860ff902e2c407f46ef81f472be69c8d5e Mon Sep 17 00:00:00 2001 From: devartes Date: Wed, 11 Jan 2023 17:12:33 -0300 Subject: [PATCH] refactor(Contato.tsx): adicionando componente FormField na estrutura do Contato --- src/components/Main/Contato/Contato.tsx | 59 ++++--------------------- 1 file changed, 8 insertions(+), 51 deletions(-) diff --git a/src/components/Main/Contato/Contato.tsx b/src/components/Main/Contato/Contato.tsx index e7aba35..c856fd9 100644 --- a/src/components/Main/Contato/Contato.tsx +++ b/src/components/Main/Contato/Contato.tsx @@ -1,6 +1,7 @@ -import { Formik, Field, Form, ErrorMessage } from "formik"; +import { Formik, Field, Form } from "formik"; import schema from "../schema"; import styles from "../Main.module.scss"; +import { FormField } from "../Contato/FormContentField/FormContentField"; import { useState } from "react"; interface FormArea { @@ -51,56 +52,12 @@ const Contato = () => { {() => (
-
- - - - - -
-
- - - - - -
-
- - - - - -
-
- - - - - -
-
- - - - - -
-
- - - - - -
+ + + + + +
*