migrate: use svelte 5 event system

This commit is contained in:
James Xylight committed 2025-02-03 19:57:00 -08:00
1 parent dd9abe5345
commit 9025f5db18
18 files changed
+70 -60

No files matched your search

@@ -38,7 +38,6 @@
} from '$lib/lemmy/postfeed'
import { t } from '$lib/translations'
import InfiniteScroll from 'svelte-infinite-scroll'
import type { Readable } from 'svelte/motion'
import EndPlaceholder from '$lib/components/ui/EndPlaceholder.svelte'
let virtualItemEls: HTMLElement[] = $state([])
@@ -252,7 +251,7 @@
: settings.view}
{post}
class="transition-all duration-250"
on:hide={() => {
onhide={() => {
posts = posts.toSpliced(row.index, 1)
}}
></Post>