diff --git a/src/Components/Accordion/index.tsx b/src/Components/Accordion/index.tsx index f857357..48ccb61 100644 --- a/src/Components/Accordion/index.tsx +++ b/src/Components/Accordion/index.tsx @@ -144,7 +144,13 @@ const Accordion: FC = ({ )} -
+
+ {section.title} + {section.description && ( + + {section.description} + + )} {expanded.includes(section.id) ? ( { @@ -164,12 +170,6 @@ const Accordion: FC = ({ className='yl-absolute yl-right-2 yl-w-6 yl-cursor-pointer yl-fill-primary hover:yl-fill-primary' /> )} - {section.title} - {section.description && ( - - {section.description} - - )}