Update table-of-contents.svelte

This commit is contained in:
Jesse Winton
2025-03-07 08:42:16 -05:00
parent 95a10b1f0c
commit fb91a8fe0c

View File

@@ -4,7 +4,7 @@
import { onMount } from 'svelte'; import { onMount } from 'svelte';
const backToTop = () => { const backToTop = () => {
window.scrollTo({ top: 0, behavior: 'smooth' }); window.scrollTo({ top: 0 });
}; };
export let toc: Array<TocItem> = []; export let toc: Array<TocItem> = [];