We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c929835 commit d99cd06Copy full SHA for d99cd06
apps/website/src/components/toc/toc.tsx
@@ -30,7 +30,7 @@ const TableOfContents = component$<TableOfContentsProps>(({ headings }) => {
30
const activeHeading = useActiveItem(itemIds);
31
const tree = buildTree(sanitizedHeadings);
32
const fixStartingBug: Node = { ...tree, children: [tree] };
33
- return <RecursiveList tree={fixStartingBug} activeItem={activeHeading.value} />;
+ return <RecursiveList tree={fixStartingBug} activeItem={activeHeading.value ?? ''} />;
34
});
35
36
function deltaToStrg(
0 commit comments