From 1110731209c4976f1539cf4fca777b8587783bc0 Mon Sep 17 00:00:00 2001 From: Nasreddine Bac Ali Date: Sat, 12 Mar 2022 14:01:52 +0100 Subject: [PATCH] fix: Edit Accordion.tsx --- src/components/Accordion.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Accordion.tsx b/src/components/Accordion.tsx index 395940897..28da44e58 100644 --- a/src/components/Accordion.tsx +++ b/src/components/Accordion.tsx @@ -18,7 +18,7 @@ export const Accordion: FC = ({ items, flush, arrowIcon: ArrowIc const [openItems, setOpenItems] = useState<(boolean | undefined)[]>(items.map((item) => item.open)); return ( -
+ <> {items.map((item, index) => (

@@ -59,6 +59,6 @@ export const Accordion: FC = ({ items, flush, arrowIcon: ArrowIc

))} - + ); };