Skip to content

Commit

Permalink
Fix edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Jun 30, 2024
1 parent c498b1a commit 947cf6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
clearTimeout(loadTimeout)
loadTimeout = setTimeout(() => apply(store.highlights), 3000) as any as number
}
$effect.root(()=>{if (document.readyState) onWindowLoad()})
//unmount
$effect(()=>cleanup)
Expand Down

0 comments on commit 947cf6b

Please sign in to comment.