offset-limit-fix-4
This commit is contained in:
parent
5d8be09601
commit
d0eccc7b95
|
@ -29,8 +29,8 @@ export const ArticlePage = (props: ArticlePageProps) => {
|
||||||
setIsCommentsLoading(true)
|
setIsCommentsLoading(true)
|
||||||
await loadArticleReactions({
|
await loadArticleReactions({
|
||||||
articleSlug: props.slug,
|
articleSlug: props.slug,
|
||||||
page: getCommentsPage(),
|
limit: ARTICLE_COMMENTS_PAGE_SIZE,
|
||||||
size: ARTICLE_COMMENTS_PAGE_SIZE
|
offset: getCommentsPage() * ARTICLE_COMMENTS_PAGE_SIZE
|
||||||
})
|
})
|
||||||
} finally {
|
} finally {
|
||||||
setIsCommentsLoading(false)
|
setIsCommentsLoading(false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user