refactor: prefer barrel exports

This commit is contained in:
James Xylight committed 2025-09-07 09:50:01 -07:00
1 parent cbd27a38a0
commit 0281e6f56a
64 files changed
+181 -249

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import CommunityCard from '$lib/components/lemmy/community/CommunityCard.svelte'
import { getClient } from '$lib/client/lemmy.svelte'
import { ReactiveState } from '$lib/promise.svelte'
import { ReactiveState } from '$lib/util.svelte'
export async function load({ fetch, params }) {
const community = await getClient(undefined, fetch).getCommunity({
+1 -1
View File
@@ -9,7 +9,7 @@
import PostFeed from '$lib/components/lemmy/post/feed/PostFeed.svelte'
import VirtualFeed from '$lib/components/lemmy/post/feed/VirtualFeed.svelte'
import Header from '$lib/components/ui/layout/pages/Header.svelte'
import Pageination from '$lib/components/ui/Pageination.svelte'
import Pageination from '$lib/components/ui/layout/Pageination.svelte'
import Placeholder from '$lib/components/ui/Placeholder.svelte'
import { t } from '$lib/i18n/translations.js'
import { site } from '$lib/client/lemmy.svelte'
+4 -2
View File
@@ -1,6 +1,8 @@
<script lang="ts">
import CommunityForm from '$lib/components/lemmy/community/CommunityForm.svelte'
import CommunityTitle from '$lib/components/lemmy/community/CommunityTitle.svelte'
import {
CommunityForm,
CommunityTitle,
} from '$lib/components/lemmy/community'
import Header from '$lib/components/ui/layout/pages/Header.svelte'
let { data } = $props()