removed logs
This commit is contained in:
@@ -26,7 +26,7 @@ function useTableOfContents(tableOfContents) {
|
|||||||
})
|
})
|
||||||
.filter((el) => !!el);
|
.filter((el) => !!el);
|
||||||
}, []);
|
}, []);
|
||||||
console.log(getHeadings,"getheadings");
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (tableOfContents.length === 0) return;
|
if (tableOfContents.length === 0) return;
|
||||||
const headings = getHeadings(tableOfContents);
|
const headings = getHeadings(tableOfContents);
|
||||||
@@ -67,7 +67,6 @@ export default function Layout({
|
|||||||
sidebarTree?: [];
|
sidebarTree?: [];
|
||||||
isHomePage?: boolean;
|
isHomePage?: boolean;
|
||||||
}) {
|
}) {
|
||||||
console.log(children)
|
|
||||||
// const { toc } = children.props;
|
// const { toc } = children.props;
|
||||||
const { theme, setTheme } = useTheme();
|
const { theme, setTheme } = useTheme();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user