fix: blank page on channel click + logout issue
This commit is contained in:
@@ -82,10 +82,10 @@ export function ChatArea() {
|
||||
{messages.map((message) => (
|
||||
<div key={message.id} className="break-words">
|
||||
<span className="text-gb-fg-f">
|
||||
[{formatTime(message.createdAt)}]
|
||||
[{formatTime(message.created_at)}]
|
||||
</span>{" "}
|
||||
<span className="text-gb-aqua">
|
||||
<{message.author.username}>
|
||||
<{message.author_username}>
|
||||
</span>{" "}
|
||||
<span className="text-gb-fg">{message.content}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user