format: whole project
This commit is contained in:
1 parent
b883b5f6e0
commit
80269cf275
79 files changed
+590
-612
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
let { data, children } = $props();
|
||||
let { data, children } = $props()
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user