From 92c8a8189334d43a35dbb03799b9bd66c2525fff Mon Sep 17 00:00:00 2001 From: AmirAgassi <33383085+AmirAgassi@users.noreply.github.com> Date: Tue, 26 Mar 2024 22:09:38 -0400 Subject: [PATCH] Fix accordion text highlight on click --- src/components/Accordion.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Accordion.tsx b/src/components/Accordion.tsx index 432e1104..979dd1a4 100644 --- a/src/components/Accordion.tsx +++ b/src/components/Accordion.tsx @@ -17,10 +17,9 @@ const Accordion: React.FC = ({ items }) => { {items.map((item, index) => (
toggleAccordion(index)} + role="button" >
{item.question}