rework/lightweight #12

Merged
GauthierWebDev merged 106 commits from rework/lightweight into main 2025-04-21 16:27:38 +00:00
Showing only changes of commit 74f45b7d64 - Show all commits

View File

@ -65,10 +65,8 @@ export function TableOfContents() {
if (!section.children) return false;
return (
section.children.findIndex((child) => {
console.log(child.hash, currentSection());
return child.hash === currentSection();
}) !== -1
section.children.findIndex((child) => child.hash === currentSection()) !==
-1
);
}