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