misc: I haven't eaten in 16 hours brb gonna get some food
This commit is contained in:
1 parent
a363fe3baf
commit
eb006ed982
21 files changed
+157
-89
No files matched your search
+1
-1
@@ -2,7 +2,7 @@ import { authData, getClient } from '$lib/lemmy.js'
|
||||
import type { ListingType, SortType } from 'lemmy-js-client'
|
||||
import { get } from 'svelte/store'
|
||||
|
||||
export async function load({ url, params }) {
|
||||
export async function load({ url }) {
|
||||
const page = Number(url.searchParams.get('page') || 1) || 1
|
||||
|
||||
const sort: SortType = (url.searchParams.get('sort') as SortType) || 'Active'
|
||||
|
||||
Reference in new issue
Block a user