Update presentation of trending feeds (#11206)

This commit is contained in:
DS Boyce
2026-07-22 14:35:45 -07:00
committed by GitHub
parent c71a4f8360
commit 8ca8176eb1
6 changed files with 252 additions and 170 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ export function useGetPopularFeedsQuery(options?: GetPopularFeedsOptions) {
count += page.feeds.length
}
if (count < limit && (data?.pages.length || 0) < 6) {
query.fetchNextPage()
void query.fetchNextPage()
lastPageCountRef.current = data?.pages?.length || 0
}
}, [query, limit])