diff --git a/src/components/TocWrapper.astro b/src/components/TocWrapper.astro index 83706fb..c268629 100644 --- a/src/components/TocWrapper.astro +++ b/src/components/TocWrapper.astro @@ -76,7 +76,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth)); // if it wasn't previously visible // let's make the link active if (associatedEls.size === 0) { - console.log("SHIET", link); link.parentNode.classList.add("active"); } @@ -96,7 +95,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth)); }); const postContentEl = document.getElementById("post-content"); - console.log("content", postContentEl); let belongsTo; for (const child of postContentEl.children) { @@ -111,9 +109,6 @@ const minDepth = Math.min(...headings.map((heading) => heading.depth)); } } - console.log("headings map", headingsMap); - console.log("reverse", reverseHeadingMap); - [...headingsMap.values()] .flatMap((x) => [...x]) .forEach((x) => {