Fix message rendering
This commit is contained in:
parent
d930365eeb
commit
69d5f41270
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@ const Message = ({ message, coloredNick, style, onNickClick }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<p className={className} style={style}>
|
<p className={className} style={style}>
|
||||||
<span className="message-time">{message.time}</span>{' '}
|
<span className="message-time">{message.time} </span>
|
||||||
{message.from && (
|
{message.from && (
|
||||||
<span
|
<span
|
||||||
className="message-sender"
|
className="message-sender"
|
||||||
@ -30,7 +30,7 @@ const Message = ({ message, coloredNick, style, onNickClick }) => {
|
|||||||
{message.from}
|
{message.from}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
{` ${message.content}`}
|
<span> {message.content}</span>
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user