mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 04:22:13 +00:00
Update table-of-contents.svelte
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
const backToTop = () => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
window.scrollTo({ top: 0 });
|
||||
};
|
||||
|
||||
export let toc: Array<TocItem> = [];
|
||||
|
||||
Reference in New Issue
Block a user