mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed youtube block
This commit is contained in:
parent
93afa626db
commit
b87487ed1f
7 changed files with 34 additions and 7 deletions
|
@ -31,7 +31,7 @@ const CommentContent: FC<IProps> = memo(({ comment }) => {
|
|||
return (
|
||||
<>
|
||||
{comment.text && (
|
||||
<div className={styles.block}>
|
||||
<Group className={styles.block}>
|
||||
{formatCommentText(path(['user', 'username'], comment), comment.text).map(
|
||||
(block, key) =>
|
||||
COMMENT_BLOCK_RENDERERS[block.type] &&
|
||||
|
@ -39,7 +39,7 @@ const CommentContent: FC<IProps> = memo(({ comment }) => {
|
|||
)}
|
||||
|
||||
<div className={styles.date}>{getPrettyDate(comment.created_at)}</div>
|
||||
</div>
|
||||
</Group>
|
||||
)}
|
||||
|
||||
{groupped.image && groupped.image.length > 0 && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue