mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-08 04:22:14 +00:00
Update table-of-contents.svelte
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
export let toc: Array<TocItem> = [];
|
||||
|
||||
$: activeIndex = 0;
|
||||
let activeIndex: number = 0;
|
||||
|
||||
onMount(() => {
|
||||
const observer = new IntersectionObserver(
|
||||
|
||||
Reference in New Issue
Block a user