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

Co-authored-by: Paul Wackerow <54227730+wackerow@users.noreply.github.com>
This commit is contained in:
Corwin Smith 2022-12-19 22:43:34 -07:00 committed by GitHub
parent d3e53af95f
commit 5a545a222a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 }) => (
<>