migrate: convert most components to svelte 5

This commit is contained in:
Xylight committed 2024-10-25 19:33:27 -07:00
1 parent d670f39f0a
commit 10ef4123da
225 files changed
+5441 -3341

No files matched your search

+10 -6
View File
@@ -3,16 +3,18 @@
import CommunityTitle from '$lib/components/lemmy/community/CommunityTitle.svelte'
import Header from '$lib/components/ui/layout/pages/Header.svelte'
export let data
let { data } = $props();
</script>
<div class="flex flex-col gap-4">
<Header pageHeader>
<span>Settings</span>
<CommunityTitle
slot="extended"
community={data.community.community_view.community}
/>
{#snippet extended()}
<CommunityTitle
community={data.community.community_view.community}
/>
{/snippet}
</Header>
<CommunityForm
edit={data.community.community_view.community.id}
@@ -29,6 +31,8 @@
submitting: false,
}}
>
<svelte:fragment slot="formtitle">{''}</svelte:fragment>
{#snippet formtitle()}
{''}
{/snippet}
</CommunityForm>
</div>