forked from M3-Academy/desafio-react-e-typescript
Merge pull request 'development' (#26) from development into main
Reviewed-on: #26
This commit is contained in:
commit
825adaf989
@ -77,6 +77,7 @@ const Contact = () => {
|
||||
const handleFormikSubmit = (values: FormikValues, { resetForm }: any) => {
|
||||
resetForm({ values: "" });
|
||||
setSuccessMessage(true);
|
||||
setTimeout(() => setSuccessMessage(false), 3000);
|
||||
};
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user