Merge pull request #234 from Just-Insane/fix/ui-bugs

Fix reaction clicks, zoom persistence, and empty message rendering
This commit is contained in:
7w1 authored and GitHub committed 2026-03-12 22:00:48 -05:00
commit 99499ba462
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
'default': patch
---
Fix reaction clicks, zoom persistence, and empty message rendering
+2 -2
View File
@@ -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 (