Fix marker in chat

This commit is contained in:
Jon Staab
2025-02-06 11:39:51 -08:00
parent 19f657e348
commit 466541caf5
3 changed files with 6 additions and 4 deletions
@@ -202,8 +202,12 @@
})
onDestroy(() => {
setChecked($page.url.pathname)
cleanup()
// Sveltekit calls onDestroy at the beginning of the page load for some reason
setTimeout(() => {
setChecked($page.url.pathname)
}, 300)
})
</script>