CommentDate bugfix
This commit is contained in:
parent
1fb84173e6
commit
b424ec9bca
|
@ -22,11 +22,11 @@ export const CommentDate = (props: Props) => {
|
|||
|
||||
return (
|
||||
<div class={clsx(styles.commentDates, { [styles.commentDatesLastInRow]: props.isLastInRow })}>
|
||||
<time class={styles.date}>{formattedDate(props.comment.createdAt)()}</time>
|
||||
<time class={styles.date}>{formattedDate(props.comment.createdAt)}</time>
|
||||
<Show when={props.comment.updatedAt}>
|
||||
<time class={styles.date}>
|
||||
<Icon name="edit" class={styles.icon} />
|
||||
{t('Edited')} {formattedDate(props.comment.updatedAt)()}
|
||||
{t('Edited')} {formattedDate(props.comment.updatedAt)}
|
||||
</time>
|
||||
</Show>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user