Woops
This commit is contained in:
parent
73bfff6a0f
commit
3f1e6cf657
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue