mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-02 11:50:46 +08:00
Render whitespace in messages
This commit is contained in:
1 parent
7488f175f2
commit
2802bc1581
1 file changed
+1
@@ -50,6 +50,7 @@ export function MessageTableEntry(props: MessageTableEntryProps) {
|
||||
bg={item.is_assistant ? backgroundColor : backgroundColor2}
|
||||
onClick={props.enabled && goToMessage}
|
||||
_hover={props.enabled && { cursor: "pointer", opacity: 0.9 }}
|
||||
whiteSpace="pre-wrap"
|
||||
>
|
||||
{inlineAvatar && avatar}
|
||||
{item.text}
|
||||
|
||||
Reference in new issue
Block a user