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 492cb74 commit 5c473e0Copy full SHA for 5c473e0
src/components/blog/TableOfContents.tsx
@@ -24,7 +24,7 @@ function TableOfContents({ headings }: { headings: Array<{ depth: number; value:
24
<TableOfContentsWrapper>
25
{headings.map((heading) => (
26
<Item key={heading.value} depth={heading.depth}>
27
- <Link to={`#${slug(heading.value)}`}>{heading.value}</Link>
+ <a href={`#${slug(heading.value)}`}>{heading.value}</a>
28
</Item>
29
))}
30
</TableOfContentsWrapper>
0 commit comments