feat: add option to disable post feed virtualization

This commit is contained in:
Xylight committed 2024-08-06 17:27:54 -07:00
1 parent 345d4a7366
commit 4797e5ca64
7 files changed
+26 -22

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export async function postFeed(args: {
const feed = get(postFeeds)[args.id]
const posts = shouldReload(feed, args.url, get(instance))
? await client({ func: fetch }).getPosts(args.request)
? await client({ func: args.fetch }).getPosts(args.request)
: feed.data.posts
if (shouldReload(feed, args.url, get(instance)) && browser)