rename: $lib/lemmy.svelte -> $lib/client/lemmy.svelte

This commit is contained in:
James Xylight committed 2025-09-02 16:30:07 -07:00
1 parent 2feea150da
commit 811b6b4944
87 files changed
+90 -88

No files matched your search

+5 -2
View File
@@ -1,4 +1,4 @@
import { getClient } from '$lib/lemmy.svelte.js'
import { getClient } from '$lib/client/lemmy.svelte'
import { getItemPublished } from '$lib/lemmy/item.js'
import type { SortType } from 'lemmy-js-client'
@@ -17,7 +17,10 @@ export async function load({ url, fetch, parent }) {
sort: sort,
})
const items = [...(type == 'all' || type == 'posts' ? user.posts : []), ...(type == 'all' || type == 'comments' ? user.comments : []),]
const items = [
...(type == 'all' || type == 'posts' ? user.posts : []),
...(type == 'all' || type == 'comments' ? user.comments : []),
]
if (sort == 'TopAll') {
items.sort(