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

+1 -1
View File
@@ -48,7 +48,7 @@
url: undefined,
}}
passedCommunity={community}
on:submit={(e) => goto(`/post/${e.detail.post.id}`)}
onsubmit={(e) => goto(`/post/${e.post.id}`)}
>
{#snippet formtitle()}
<Header class="text-3xl font-bold" pageHeader>