From 817d2e2d7448d52c16e5bb900432b304b34a9b80 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Tue, 22 Nov 2022 22:04:55 +0300 Subject: [PATCH] fix-condition --- src/components/Views/Article.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Views/Article.tsx b/src/components/Views/Article.tsx index 84c24f41..d8679c69 100644 --- a/src/components/Views/Article.tsx +++ b/src/components/Views/Article.tsx @@ -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 })