From db0b85c396dd1fe06ac1e2bb3380ddc68685a87e Mon Sep 17 00:00:00 2001 From: mayuran-deriv Date: Mon, 30 Jun 2025 15:03:42 +0400 Subject: [PATCH] fix: added value plus index --- src/components/CustomAccordion/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/CustomAccordion/index.tsx b/src/components/CustomAccordion/index.tsx index 4668a426c..ec7f2dee7 100644 --- a/src/components/CustomAccordion/index.tsx +++ b/src/components/CustomAccordion/index.tsx @@ -30,8 +30,12 @@ const CustomAccordion: React.FC = ({ items }) => ( collapsible defaultValue='item-1' > - {items.map((item) => ( - + {items.map((item, index) => ( + {item.header} {item.content}