diff --git a/src/lib/components/lemmy/community/CommunityCard.svelte b/src/lib/components/lemmy/community/CommunityCard.svelte index 26aaaed1..91508c73 100644 --- a/src/lib/components/lemmy/community/CommunityCard.svelte +++ b/src/lib/components/lemmy/community/CommunityCard.svelte @@ -76,6 +76,8 @@ import Entity from '$lib/components/ui/Entity.svelte' import Expandable from '$lib/components/ui/Expandable.svelte' import LabelStat from '$lib/components/ui/LabelStat.svelte' + import CommonList from '$lib/components/ui/layout/CommonList.svelte' + import SidebarButton from '$lib/components/ui/sidebar/SidebarButton.svelte' import { t } from '$lib/i18n/translations' import { client, getClient } from '$lib/lemmy.svelte.js' import { errorMessage } from '$lib/lemmy/error' @@ -105,9 +107,6 @@ NoSymbol, Plus, } from 'svelte-hero-icons' - import ItemList from '../generic/ItemList.svelte' - import CommonList from '$lib/components/ui/layout/CommonList.svelte' - import SidebarButton from '$lib/components/ui/sidebar/SidebarButton.svelte' let loading = $state({ blocking: false, diff --git a/src/lib/components/lemmy/community/CommunityForm.svelte b/src/lib/components/lemmy/community/CommunityForm.svelte index b1534a43..1849b0e9 100644 --- a/src/lib/components/lemmy/community/CommunityForm.svelte +++ b/src/lib/components/lemmy/community/CommunityForm.svelte @@ -1,13 +1,13 @@
{ + e.preventDefault() + submit() + }} class="flex flex-col gap-4 h-full w-full" > {#if formtitle}{@render formtitle()}{:else} diff --git a/src/lib/components/ui/layout/pages/Tabs.svelte b/src/lib/components/ui/layout/pages/Tabs.svelte index 7d9a6180..341a8879 100644 --- a/src/lib/components/ui/layout/pages/Tabs.svelte +++ b/src/lib/components/ui/layout/pages/Tabs.svelte @@ -10,7 +10,6 @@ }[] currentRoute?: SvelteURL | undefined buildUrl?: (currentRoute: SvelteURL | undefined, href: string) => string - class?: string children?: import('svelte').Snippet } @@ -18,7 +17,6 @@ routes, currentRoute = undefined, buildUrl = (_, href) => href, - class: clazz = '', children, }: Props = $props() diff --git a/src/lib/components/ui/sidebar/Sidebar.svelte b/src/lib/components/ui/sidebar/Sidebar.svelte index 83a58214..c0f5d3a0 100644 --- a/src/lib/components/ui/sidebar/Sidebar.svelte +++ b/src/lib/components/ui/sidebar/Sidebar.svelte @@ -1,10 +1,10 @@ diff --git a/src/routes/post/[instance]/[id=integer]/+page.svelte b/src/routes/post/[instance]/[id=integer]/+page.svelte index 46c06716..2298bab8 100644 --- a/src/routes/post/[instance]/[id=integer]/+page.svelte +++ b/src/routes/post/[instance]/[id=integer]/+page.svelte @@ -1,10 +1,10 @@