master
Hamcha 3 years ago
parent 73bfff6a0f
commit 3f1e6cf657
Signed by: Hamcha
GPG Key ID: 44AD3571EB09A39E
  1. 6
      frontend/src/Chatroom.tsx

@ -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>
);

Loading…
Cancel
Save