fix: disallow image
This commit is contained in:
parent
536e9dae2e
commit
5486103d78
|
@ -60,7 +60,7 @@ export default function ChatMessage(props) {
|
||||||
}
|
}
|
||||||
<div className="chat--messageText">
|
<div className="chat--messageText">
|
||||||
<div className="chat--messageMarkdown">
|
<div className="chat--messageMarkdown">
|
||||||
<ReactMarkdown source={message} />
|
<ReactMarkdown disallowedTypes={['image']} source={message} />
|
||||||
</div>
|
</div>
|
||||||
{isShort && $messageTime}
|
{isShort && $messageTime}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user