From a999f8019cd7d30267a03926ff503a5f6f2cb369 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Thu, 27 Aug 2020 14:29:11 +0700 Subject: [PATCH] not showing 'No comments' if they're loading --- src/components/node/NodeNoComments/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/node/NodeNoComments/index.tsx b/src/components/node/NodeNoComments/index.tsx index c0c5ade0..47f2bafd 100644 --- a/src/components/node/NodeNoComments/index.tsx +++ b/src/components/node/NodeNoComments/index.tsx @@ -20,7 +20,7 @@ const NodeNoComments: FC = ({ is_loading = false, count = 3 }) => { return ( {items} -
{!is_loading && t(ERRORS.NO_COMMENTS)}
+ {is_loading &&
{t(ERRORS.NO_COMMENTS)}
}
); };