mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
better image thumbs on comments
This commit is contained in:
parent
4ed2957cb4
commit
a6434399ba
4 changed files with 17 additions and 4 deletions
|
@ -27,7 +27,9 @@ const Comment: FC<IProps> = ({ comment, is_empty, is_loading, className, photo,
|
|||
{comment.files && comment.files.length > 0 && (
|
||||
<div className={styles.images}>
|
||||
{comment.files.map(file => (
|
||||
<ImageUpload thumb={getURL(file.url)} />
|
||||
<div>
|
||||
<img src={getURL(file.url)} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue