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

+2
View File
@@ -144,7 +144,9 @@ export async function markAsRead(
if (item.type == 'post') {
getClient().markPostAsRead({
// @ts-ignore
post_id: item.id,
post_ids: [item.id],
read: read,
})
return read