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