misc: minor tweaks
This commit is contained in:
1 parent
05fcbf09fe
commit
590eedc0fb
4 files changed
+53
-7
No files matched your search
@@ -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,
|
||||
|
||||
@@ -92,6 +92,7 @@
|
||||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
<div class="mt-4" />
|
||||
<Pageination
|
||||
bind:page={pageNum}
|
||||
on:change={(p) => {
|
||||
|
||||
Reference in new issue
Block a user