Skip to content

Commit

Permalink
fix: Edit Accordion.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bacali95 committed Mar 12, 2022
1 parent dd19d39 commit 1110731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Accordion: FC<AccordionProps> = ({ items, flush, arrowIcon: ArrowIc
const [openItems, setOpenItems] = useState<(boolean | undefined)[]>(items.map((item) => item.open));

return (
<div id="accordion-collapse" data-accordion="collapse">
<>
{items.map((item, index) => (
<Fragment key={index}>
<h2>
Expand Down Expand Up @@ -59,6 +59,6 @@ export const Accordion: FC<AccordionProps> = ({ items, flush, arrowIcon: ArrowIc
</div>
</Fragment>
))}
</div>
</>
);
};

0 comments on commit 1110731

Please sign in to comment.