misc: minor tweaks

This commit is contained in:
Xyphyn committed 2023-07-28 18:52:37 -07:00
1 parent 05fcbf09fe
commit 590eedc0fb
4 files changed
+53 -7

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { authData, getClient } from '$lib/lemmy.js'
import { get } from 'svelte/store'
export async function load({ params }) {
export async function load({ params, url }) {
const post = await getClient(params.instance.toLowerCase()).getPost({
id: Number(params.id),
auth: get(authData)?.token,