misc: Stop svelte for vs code deciding to die

This commit is contained in:
Xyphyn committed 2023-07-01 18:36:50 -07:00
1 parent 97b3e2025d
commit e839ff6cee
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
import { lemmy } from '$lib/lemmy.js'
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 sort: SortType =