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

showing comment avatar

This commit is contained in:
Fedor Katurov 2019-10-12 15:00:44 +07:00
parent 6c1e88804b
commit 6bf14e6d5c

View file

@ -29,7 +29,12 @@ const Comment: FC<IProps> = ({ comment, is_empty, is_loading, className, photo,
);
return (
<CommentWrapper is_empty={is_empty} is_loading={is_loading} photo={photo} {...props}>
<CommentWrapper
is_empty={is_empty}
is_loading={is_loading}
photo={getURL(comment.user.photo)}
{...props}
>
{comment.text && (
<Group
className={styles.text}