misc: I haven't eaten in 16 hours brb gonna get some food

This commit is contained in:
Xyphyn committed 2023-07-16 13:24:32 -07:00
1 parent a363fe3baf
commit eb006ed982
21 files changed
+157 -89

No files matched your search

+1 -1
View File
@@ -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'