We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8567bd4 commit f8f9934Copy full SHA for f8f9934
src/components/table-of-contents.js
@@ -33,7 +33,7 @@ const withTableOfContents = Component => {
33
}
34
35
export const Mobile = withTableOfContents(({items}) => {
36
- const {getDetailsProps, open} = useDetails({})
+ const {getDetailsProps, open} = useDetails({defaultOpen: true})
37
return (
38
<Box sx={{display: ['block', null, 'none'], mb: 3}}>
39
<Details {...getDetailsProps()}>
0 commit comments