format: whole project

This commit is contained in:
James Xylight committed 2025-02-04 16:23:31 -08:00
1 parent b883b5f6e0
commit 80269cf275
79 files changed
+590 -612

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
let { data, children } = $props();
let { data, children } = $props()
</script>
<svelte:head>
+1 -2
View File
@@ -10,8 +10,7 @@ export async function load({ params, fetch, url }) {
const page = Number(url.searchParams.get('page')) || undefined
const sort: SortType =
(url.searchParams.get('sort') as SortType) ||
settings.defaultSort.sort
(url.searchParams.get('sort') as SortType) || settings.defaultSort.sort
return await postFeed({
id: 'community',
+5 -8
View File
@@ -3,18 +3,15 @@
import CommunityTitle from '$lib/components/lemmy/community/CommunityTitle.svelte'
import Header from '$lib/components/ui/layout/pages/Header.svelte'
let { data } = $props();
let { data } = $props()
</script>
<div class="flex flex-col gap-4">
<Header pageHeader>
<span>Settings</span>
{#snippet extended()}
<CommunityTitle
community={data.community.community_view.community}
/>
{/snippet}
<CommunityTitle community={data.community.community_view.community} />
{/snippet}
</Header>
<CommunityForm
edit={data.community.community_view.community.id}
@@ -32,7 +29,7 @@
}}
>
{#snippet formtitle()}
{''}
{/snippet}
{''}
{/snippet}
</CommunityForm>
</div>