mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
fix: frontend crashing with some markdown messages
This commit is contained in:
@@ -171,7 +171,7 @@ const MarkdownWrapper = ({ children }) => {
|
||||
|
||||
elements.forEach(element => {
|
||||
if (!allowedElements.includes(element)) {
|
||||
markdownOptions.overrides[element] = el => el.children;
|
||||
markdownOptions.overrides[element] = el => el.children || null;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user