This commit is contained in:
Hamcha 2020-01-27 12:56:32 +01:00
parent 73bfff6a0f
commit 3f1e6cf657
Signed by: hamcha
GPG key ID: 44AD3571EB09A39E

View file

@ -64,7 +64,7 @@ export default function Chatroom() {
return ( return (
<div> <div>
<ul className="chatlog"> <ul className="chatlog">
{remoteData.messages.messages.map((msg: GQLMessage) => {remoteData.messages.messages.map((msg: GQLMessage) => (
<li key={msg.messageId}> <li key={msg.messageId}>
<article className="message"> <article className="message">
<header> <header>
@ -72,8 +72,8 @@ export default function Chatroom() {
</header> </header>
<p>{msg.content}</p> <p>{msg.content}</p>
</article> </article>
</li>; </li>
)} ))}
</ul> </ul>
</div> </div>
); );