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 8487175 commit d80d1f5Copy full SHA for d80d1f5
site/components/Layout.tsx
@@ -26,7 +26,7 @@ function useTableOfContents(tableOfContents) {
26
})
27
.filter((el) => !!el);
28
}, []);
29
-console.log(getHeadings,"getheadings");
+
30
useEffect(() => {
31
if (tableOfContents.length === 0) return;
32
const headings = getHeadings(tableOfContents);
@@ -67,7 +67,6 @@ export default function Layout({
67
sidebarTree?: [];
68
isHomePage?: boolean;
69
}) {
70
- console.log(children)
71
// const { toc } = children.props;
72
const { theme, setTheme } = useTheme();
73
0 commit comments