Update src/components/UI/docs/DocsLinks.tsx

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
pull/26374/head
Corwin Smith 2 years ago committed by GitHub
parent d3e53af95f
commit 5a545a222a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/UI/docs/DocsLinks.tsx

@ -54,7 +54,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
const index = openSections[id] ? 0 : -1; const index = openSections[id] ? 0 : -1;
return ( return (
<Accordion key={id} index={isSectionActive ? 0 : -1} allowToggle mt='0 !important'> <Accordion key={id} index={index} allowToggle mt='0 !important'>
<AccordionItem border='none'> <AccordionItem border='none'>
{({ isExpanded }) => ( {({ isExpanded }) => (
<> <>

Loading…
Cancel
Save