fix-condition

This commit is contained in:
tonyrewin 2022-11-22 22:04:55 +03:00
parent 76460a1289
commit 817d2e2d74

View File

@ -22,7 +22,7 @@ export const ArticleView = (props: ArticlePageProps) => {
try {
setIsCommentsLoading(true)
await loadReactionsBy({
by: { shout: props.article.slug },
by: { shout: props.article.slug, comment: true },
limit: ARTICLE_COMMENTS_PAGE_SIZE,
offset: getCommentsPage() * ARTICLE_COMMENTS_PAGE_SIZE
})