misc: Stop svelte for vs code deciding to die
This commit is contained in:
1 parent
97b3e2025d
commit
e839ff6cee
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import { lemmy } from '$lib/lemmy.js'
|
import { lemmy } from '$lib/lemmy.js'
|
||||||
import type { ListingType, SortType } from 'lemmy-js-client'
|
import type { ListingType, SortType } from 'lemmy-js-client'
|
||||||
|
|
||||||
export function load(req) {
|
export function load(req: any) {
|
||||||
const page = Number(req.url.searchParams.get('page') || 1) || 1
|
const page = Number(req.url.searchParams.get('page') || 1) || 1
|
||||||
|
|
||||||
const sort: SortType =
|
const sort: SortType =
|
||||||
|
|||||||
Reference in new issue
Block a user