From 80e455812a27cd00f319c9d9d2cb632e750284c9 Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Mon, 12 Dec 2022 18:20:49 +0100 Subject: [PATCH] Remove defaultIndex from Accordion to have them default closed (#144) --- src/components/UI/docs/DocsLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/UI/docs/DocsLinks.tsx b/src/components/UI/docs/DocsLinks.tsx index 3f8ab35759..10ae276192 100644 --- a/src/components/UI/docs/DocsLinks.tsx +++ b/src/components/UI/docs/DocsLinks.tsx @@ -30,7 +30,7 @@ export const DocsLinks: FC = ({ navLinks }) => { const split = to?.split('/'); const isActive = slug && split && split[split.length - 1] === slug[slug.length - 1]; return ( - + {({ isExpanded }) => ( <>