From 535fd5b04bc95690338be2a7c8640ab9033fbedd Mon Sep 17 00:00:00 2001 From: Natanael Fernandes Date: Wed, 6 Dec 2023 18:46:43 -0300 Subject: [PATCH] removendo codigo inutilizado --- src/components/forms/ForgottenPasswordForms.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/forms/ForgottenPasswordForms.js b/src/components/forms/ForgottenPasswordForms.js index 9eeaa1a8..a6f27066 100644 --- a/src/components/forms/ForgottenPasswordForms.js +++ b/src/components/forms/ForgottenPasswordForms.js @@ -28,12 +28,6 @@ export default function ForgottenPasswordForm(){ } = useForm({resolver: yupResolver(forgottenPasswordSchema), mode: "onChange"}) const onSubmit = async (data) => { - toast.success("Email enviado com sucesso!", { - autoClose: 5000, - - }); - navigate('/'); - const response = await forgottenPassword(data); if(response.type === 'error') { toast.error(response.error)