fix: showing line breaks in chat messages
This commit is contained in:
@@ -90,7 +90,9 @@ const Message = ({ message }: Props) => {
|
|||||||
<ChatFile file={message.file} />
|
<ChatFile file={message.file} />
|
||||||
</Group>
|
</Group>
|
||||||
)}
|
)}
|
||||||
<div>{message.text}</div>
|
<div style={{ whiteSpace: "pre-line" }}>
|
||||||
|
{message.text}
|
||||||
|
</div>
|
||||||
<Group
|
<Group
|
||||||
gap={em(5)}
|
gap={em(5)}
|
||||||
justify={"flex-end"}
|
justify={"flex-end"}
|
||||||
|
|||||||
Reference in New Issue
Block a user