From a8a485ceb0b9c1f328c9ce9cfee33beb6ff05f07 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio Date: Thu, 12 Jan 2023 11:10:02 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20adiciona=20temporizador=20mensagem=20de?= =?UTF-8?q?=20sucesso=20formul=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Main/Contact/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Main/Contact/index.tsx b/src/components/Main/Contact/index.tsx index 5402a56..2f4d2a9 100644 --- a/src/components/Main/Contact/index.tsx +++ b/src/components/Main/Contact/index.tsx @@ -77,6 +77,7 @@ const Contact = () => { const handleFormikSubmit = (values: FormikValues, { resetForm }: any) => { resetForm({ values: "" }); setSuccessMessage(true); + setTimeout(() => setSuccessMessage(false), 3000); }; return ( -- 2.34.1