perf(feed): optimize postsPerPage

This commit is contained in:
Tom (plebeius.eth)
2024-06-11 10:25:48 +02:00
parent 62b4c71eb5
commit b1e3400d44
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ const Board = () => {
const feedOptions: any = {
subplebbitAddresses,
sortType,
postsPerPage: 10,
postsPerPage: isInAllView || isInSubscriptionsView ? 5 : 25,
};
if (isInAllView || isInSubscriptionsView) {
+1 -1
View File
@@ -110,7 +110,7 @@ const Catalog = () => {
const feedOptions: any = {
subplebbitAddresses,
sortType,
postsPerPage,
postsPerPage: isInAllView || isInSubscriptionsView ? 10 : 25,
};
if (isInAllView || isInSubscriptionsView) {