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