From ee7dcdafa50f5607f6941dbff296bbeece829939 Mon Sep 17 00:00:00 2001 From: Sanidhya Kumar Verma Date: Sat, 13 Jan 2024 12:25:47 +0000 Subject: [PATCH] changed message states --- src/components/Contact.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Contact.jsx b/src/components/Contact.jsx index bde1f6e..09f9b83 100644 --- a/src/components/Contact.jsx +++ b/src/components/Contact.jsx @@ -95,13 +95,11 @@ const Contact = () => { }, import.meta.env.VITE_APP_EMAILJS_KEY ) - .then(() => - toast.success("Thank You. I will get back to you as soon as possible.") - ) + .then(() => toast.success("Thanks for contacting me.")) .catch((error) => { // Error handle console.log("[CONTACT_ERR]: ", error); - toast.error("Sorry. Something went wrong."); + toast.error("Something went wrong."); }) .finally(() => { setLoading(false);