Update table-of-contents.svelte

This commit is contained in:
Jesse Winton
2025-03-06 10:26:26 -05:00
parent ce223fa706
commit 61ab7aa1f7

View File

@@ -9,7 +9,7 @@
export let toc: Array<TocItem> = [];
$: activeIndex = 0;
let activeIndex: number = 0;
onMount(() => {
const observer = new IntersectionObserver(