Skip to content

Commit

Permalink
fix: add heading list to table of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceoq committed Dec 7, 2023
1 parent 65cf967 commit ccbd71c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/docs/tracks/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const TrackPage: NextPage<Props> = ({
</Box>
<Box sx={styles.rightContainer}>
<Contributors contributors={contributors} />
<TableOfContents />
<TableOfContents headingList={headings} />
</Box>
<OnThisPage />
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/tutorial/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const TutorialPage: NextPage<Props> = ({
</Box>
<Box sx={styles.rightContainer}>
<Contributors contributors={contributors} />
<TableOfContents />
<TableOfContents headingList={headings} />
</Box>
<OnThisPage />
</Flex>
Expand Down

0 comments on commit ccbd71c

Please sign in to comment.