diff --git a/site/components/Layout.tsx b/site/components/Layout.tsx index da1862d5..556f8eca 100644 --- a/site/components/Layout.tsx +++ b/site/components/Layout.tsx @@ -26,7 +26,7 @@ function useTableOfContents(tableOfContents) { }) .filter((el) => !!el); }, []); -console.log(getHeadings,"getheadings"); + useEffect(() => { if (tableOfContents.length === 0) return; const headings = getHeadings(tableOfContents); @@ -67,7 +67,6 @@ export default function Layout({ sidebarTree?: []; isHomePage?: boolean; }) { - console.log(children) // const { toc } = children.props; const { theme, setTheme } = useTheme();