Fix marker in chat
This commit is contained in:
@@ -115,8 +115,6 @@
|
||||
const hasEllipsis = $derived(shortContent.some(isEllipsis))
|
||||
const expandInline = $derived(hasEllipsis && expandMode === "inline")
|
||||
const expandBlock = $derived(hasEllipsis && expandMode === "block")
|
||||
|
||||
$inspect(fullContent)
|
||||
</script>
|
||||
|
||||
<div class="relative">
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user