feat: Add user pages

This commit is contained in:
Xyphyn committed 2023-07-04 19:39:27 -07:00
1 parent 04704749b7
commit 9efe1df0c2
12 files changed
+222 -29

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { authData, getClient } from '$lib/lemmy.js'
import { get } from 'svelte/store'
export function load({ params }) {
return {
user: getClient().getPersonDetails({
limit: 40,
page: 1,
username: params.name,
sort: 'New',
auth: get(authData)?.token,
}),
}
}