Merge remote-tracking branch 'origin/main' into piefed-3

This commit is contained in:
James Xylight committed 2025-09-05 22:28:22 -07:00
commit aa270be722
25 files changed
+164 -110

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import { getClient } from '$lib/client/lemmy.svelte'
import { client } from '$lib/client/lemmy.svelte'
import { getItemPublished } from '$lib/lemmy/item.js'
import { ReactiveState } from '$lib/promise.svelte.js'
import type { SortType } from '$lib/client/types'
@@ -9,7 +9,7 @@ export async function load({ params, url, fetch }) {
(url.searchParams.get('type') as 'comments' | 'posts' | 'all') || 'all'
const sort: SortType = (url.searchParams.get('sort') as SortType) || 'New'
const user = await getClient(undefined, fetch).getPersonDetails({
const user = await client({ func: fetch }).getPersonDetails({
limit: 20,
page: page,
username: params.name,