1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed is_loading display

This commit is contained in:
Fedor Katurov 2020-08-27 14:44:48 +07:00
parent a999f8019c
commit 0e3c7cbfd6

View file

@ -20,7 +20,7 @@ const NodeNoComments: FC<IProps> = ({ is_loading = false, count = 3 }) => {
return (
<Group className={classNames(styles.wrap, { is_loading })}>
{items}
{is_loading && <div className={styles.nothing}>{t(ERRORS.NO_COMMENTS)}</div>}
{!is_loading && <div className={styles.nothing}>{t(ERRORS.NO_COMMENTS)}</div>}
</Group>
);
};