Update src/components/UI/docs/DocsLinks.tsx
Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
This commit is contained in:
parent
d3e53af95f
commit
5a545a222a
|
@ -54,7 +54,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
|
|||
const index = openSections[id] ? 0 : -1;
|
||||
|
||||
return (
|
||||
<Accordion key={id} index={isSectionActive ? 0 : -1} allowToggle mt='0 !important'>
|
||||
<Accordion key={id} index={index} allowToggle mt='0 !important'>
|
||||
<AccordionItem border='none'>
|
||||
{({ isExpanded }) => (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue