diff --git a/src/components/Views/AllAuthors.tsx b/src/components/Views/AllAuthors.tsx index 7c32bfe4..61898885 100644 --- a/src/components/Views/AllAuthors.tsx +++ b/src/components/Views/AllAuthors.tsx @@ -51,11 +51,11 @@ export const AllAuthorsView = (props: Props) => { }) const loadMoreByShouts = async () => { - await loadAuthors({ by: { stat: 'shouts' }, limit: PAGE_SIZE, offset: offsetByShouts() }) + await loadAuthors({ by: { order: 'shouts_stat' }, limit: PAGE_SIZE, offset: offsetByShouts() }) setOffsetByShouts((o) => o + PAGE_SIZE) } const loadMoreByFollowers = async () => { - await loadAuthors({ by: { stat: 'followers' }, limit: PAGE_SIZE, offset: offsetByFollowers() }) + await loadAuthors({ by: { order: 'followers_stat' }, limit: PAGE_SIZE, offset: offsetByFollowers() }) setOffsetByFollowers((o) => o + PAGE_SIZE) }