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

-6
View File
@@ -2,7 +2,6 @@
import { notifications, profile } from '$lib/auth.svelte.js'
import CommentItem from '$lib/components/lemmy/comment/CommentItem.svelte'
import PrivateMessage from '$lib/components/lemmy/inbox/PrivateMessage.svelte'
import PrivateMessageModal from '$lib/components/lemmy/modal/PrivateMessageModal.svelte'
import Avatar from '$lib/components/ui/Avatar.svelte'
import Expandable from '$lib/components/ui/Expandable.svelte'
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
@@ -20,7 +19,6 @@
let { item = $bindable() }: Props = $props()
let replying = $state(false)
let loading = $state(false)
async function markAsRead(isRead: boolean) {
@@ -58,10 +56,6 @@
}
</script>
{#if replying && item.type == 'private_message'}
<PrivateMessageModal bind:open={replying} user={item.item.creator} />
{/if}
<Expandable open icon={false}>
{#snippet title()}
<div class="flex flex-row gap-2 items-center w-full">