This commit is contained in:
mrfry 2021-05-29 21:44:08 +02:00
parent c60ace4f9b
commit 602e16046e
18 changed files with 512 additions and 174 deletions

View file

@ -2,6 +2,7 @@ import React, { useState } from 'react'
import ReactButton from './reactButton.js'
import Modal from './modal.js'
import Link from 'next/link'
import styles from './comments.module.css'
@ -61,7 +62,12 @@ function Comment({ comment, index, onComment, onDelete, onReact, uid }) {
>
{displayed ? '[-]' : '[+]'}
</div>
<div>User #{user}</div>
<Link href={`/chat?user=${user}`}>
<a title={`Chat #${user}-el`} className={'userId'}>
User #{user}
</a>
</Link>
<div className={styles.newsDate}> @ {date}</div>
</div>
<div className={styles.commentDate}>{date}</div>
</div>