refactor: switch posts to barrel export

This commit is contained in:
James Xylight committed 2025-09-07 10:20:04 -07:00
1 parent 0281e6f56a
commit bb30a86dc4
47 files changed
+424 -528

No files matched your search

@@ -3,9 +3,9 @@
import { Spinner } from 'mono-svelte'
import type { ResolveObjectResponse } from '$lib/client/types'
import UserItem from '$lib/components/lemmy/user/UserItem.svelte'
import Post from '$lib/components/lemmy/post/Post.svelte'
import CommentItem from '$lib/components/lemmy/comment/CommentItem.svelte'
import { CommunityItem } from '$lib/components/lemmy/community'
import { PostItem } from '$lib/components/lemmy/post'
interface Props {
data: {
@@ -27,7 +27,7 @@
{:else if object.person}
<UserItem user={object.person} />
{:else if object.post}
<Post post={object.post} />
<PostItem post={object.post} />
{:else if object.comment}
<CommentItem comment={object.comment} />
{/if}