From 4571c5206deb78443b9eb517ad22b74bd2558d2c Mon Sep 17 00:00:00 2001 From: Jayesh Sharma Date: Sat, 5 Oct 2024 21:51:28 +0530 Subject: [PATCH] Enhanced the Faq section --- client/src/Pages/Faq.jsx | 71 ++++++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/client/src/Pages/Faq.jsx b/client/src/Pages/Faq.jsx index 745b17c5..ed4832cf 100644 --- a/client/src/Pages/Faq.jsx +++ b/client/src/Pages/Faq.jsx @@ -74,41 +74,42 @@ const FAQ = () => {

FAQ

- {faqs.map((faq, index) => ( -
- - {openIndex === index && ( -

{faq.answer}

- )} -
- ))} + {faqs.map((faq, index) => ( +
+ + {openIndex === index && ( +

{faq.answer}

+ )} +
+))} +