Preserve newlines in chat (#39)
This commit is contained in:
parent
a38f0514b9
commit
c4d8985667
@ -23,7 +23,9 @@ export const ChatMessage = ({
|
||||
<div
|
||||
className={`pr-4 text-${
|
||||
isSelf ? "gray-300" : accentColor + "-500"
|
||||
} text-sm ${isSelf ? "" : "drop-shadow-" + accentColor}`}
|
||||
} text-sm ${
|
||||
isSelf ? "" : "drop-shadow-" + accentColor
|
||||
} whitespace-pre-line`}
|
||||
>
|
||||
{message}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user