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 5829d6b commit 0dca946Copy full SHA for 0dca946
src/components/table-of-contents.js
@@ -81,7 +81,7 @@ export const Desktop = withTableOfContents(({items}) => (
81
maxHeight: `calc(100vh - ${SCROLL_MARGIN_TOP}px)`,
82
}}
83
>
84
- <Heading as="h2" sx={{fontSize: 1, display: 'inline-block', fontWeight: 'bold'}} id="toc-heading">
+ <Heading as="h2" sx={{fontSize: 1, display: 'inline-block', fontWeight: 'bold'}} id="toc-headings">
85
Table of contents
86
</Heading>
87
<Box
@@ -91,7 +91,7 @@ export const Desktop = withTableOfContents(({items}) => (
91
overflowY: 'auto',
92
93
94
- <TableOfContents aria-labelledby="toc-heading" items={items} sx={{ml: -2}} />
+ <TableOfContents aria-labelledby="toc-headings" items={items} sx={{ml: -2}} />
95
</Box>
96
97
))
0 commit comments