fix: PostFeed.svelte not updating

This commit is contained in:
James Xylight committed 2025-03-14 14:15:03 -07:00
1 parent ced6d62934
commit 5acab260a8
5 files changed
+40 -85

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ import { ReactiveState } from '$lib/promise.svelte.js'
export async function load({ url, fetch }) {
const cursor = url.searchParams.get('cursor') as string | undefined
const prevCursor = url.searchParams.get('prevCursor') as string | undefined
const prevCursor = url.searchParams.get('cursorPrev') as string | undefined
const sort: SortType =
(url.searchParams.get('sort') as SortType) || settings.defaultSort.sort