offset-limit-fix-4

This commit is contained in:
tonyrewin 2022-09-14 14:29:10 +03:00
parent 5d8be09601
commit d0eccc7b95

View File

@ -29,8 +29,8 @@ export const ArticlePage = (props: ArticlePageProps) => {
setIsCommentsLoading(true)
await loadArticleReactions({
articleSlug: props.slug,
page: getCommentsPage(),
size: ARTICLE_COMMENTS_PAGE_SIZE
limit: ARTICLE_COMMENTS_PAGE_SIZE,
offset: getCommentsPage() * ARTICLE_COMMENTS_PAGE_SIZE
})
} finally {
setIsCommentsLoading(false)