1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Load less per page

This commit is contained in:
xmflsct
2023-02-16 20:42:16 +01:00
parent 86e7edb963
commit 718870e3e9
5 changed files with 102 additions and 89 deletions

View File

@ -67,8 +67,8 @@ export const queryFunctionTimeline = async ({
marker = getAccountStorage.string('read_marker_following')
}
const params: { [key: string]: string } = marker
? { limit: 40, max_id: marker }
: { limit: 40, ...pageParam }
? { limit: 20, max_id: marker }
: { limit: 20, ...pageParam }
switch (page.page) {
case 'Following':