fix: scroll position breaking

This commit is contained in:
Xylight committed 2024-07-04 21:08:23 -07:00
1 parent d936f8f035
commit 0b13cbc429
6 files changed
+85 -7

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ export async function load({ url, fetch }) {
!(cached && url.searchParams.toString() == cached.params.toString()) &&
browser
)
_posts.set({ data: posts, params: url.searchParams })
_posts.set({ data: posts, params: url.searchParams, lastSeen: 0 })
try {
return {