Merge pull request #234 from Just-Insane/fix/ui-bugs
Fix reaction clicks, zoom persistence, and empty message rendering
This commit is contained in:
2 files changed
+7
-2
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'default': patch
|
||||
---
|
||||
|
||||
Fix reaction clicks, zoom persistence, and empty message rendering
|
||||
@@ -20,9 +20,9 @@ export function RenderBody({
|
||||
htmlReactParserOptions,
|
||||
linkifyOpts,
|
||||
}: RenderBodyProps) {
|
||||
if (body === '') <MessageEmptyContent />;
|
||||
if (body === '') return <MessageEmptyContent />;
|
||||
if (customBody) {
|
||||
if (customBody === '') <MessageEmptyContent />;
|
||||
if (customBody === '') return <MessageEmptyContent />;
|
||||
return parse(sanitizeCustomHtml(customBody), htmlReactParserOptions);
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user