Skip to content

Commit 836914c

Browse files
authored
feat(web): added new table of content sidebar like clerk (#605)
1 parent 2675675 commit 836914c

File tree

1 file changed

+1
-1
lines changed
  • apps/web/src/app/docs/[[...slug]]

1 file changed

+1
-1
lines changed

apps/web/src/app/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function Page(props: {
2020
const MDX = page.data.body;
2121

2222
return (
23-
<DocsPage toc={page.data.toc} full={page.data.full}>
23+
<DocsPage toc={page.data.toc} tableOfContent={{style: "clerk"}} full={page.data.full}>
2424
<DocsTitle>{page.data.title}</DocsTitle>
2525
<DocsDescription>{page.data.description}</DocsDescription>
2626
<div className="flex flex-row items-center gap-2 border-b pt-2 pb-6">

0 commit comments

Comments
 (0)