mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-24 11:58:11 +00:00
Remove defaultIndex from Accordion to have them default closed (#144)
This commit is contained in:
parent
f58ed4dfd1
commit
80e455812a
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ export const DocsLinks: FC<Props> = ({ navLinks }) => {
|
|||
const split = to?.split('/');
|
||||
const isActive = slug && split && split[split.length - 1] === slug[slug.length - 1];
|
||||
return (
|
||||
<Accordion key={id} allowToggle mt='0 !important' defaultIndex={[0]}>
|
||||
<Accordion key={id} allowToggle mt='0 !important'>
|
||||
<AccordionItem border='none'>
|
||||
{({ isExpanded }) => (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Reference in a new issue