From 0ef29c607372b0b05db789d307abdcd569abd6dc Mon Sep 17 00:00:00 2001 From: Sayyad Aslam Date: Fri, 21 Jun 2024 22:54:03 +0530 Subject: [PATCH] Added Reset functionality in feedback form --- src/Pages/FeedbackForm.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Pages/FeedbackForm.jsx b/src/Pages/FeedbackForm.jsx index ff7f506..cb9e293 100644 --- a/src/Pages/FeedbackForm.jsx +++ b/src/Pages/FeedbackForm.jsx @@ -50,6 +50,10 @@ function FeedbackPage() { `Name: ${name}\nEmail: ${email}\nRating: ${rating}\nFeedback: ${feedback}` ); window.location.href = `mailto:startconnecthub@gmail.com?subject=${subject}&body=${body}`; + setRating(null); + setName(""); + setEmail(""); + setFeedback(""); }; return (