diff --git a/.changeset/fix-ui-bugs.md b/.changeset/fix-ui-bugs.md new file mode 100644 index 00000000..63ae872a --- /dev/null +++ b/.changeset/fix-ui-bugs.md @@ -0,0 +1,5 @@ +--- +'default': patch +--- + +Fix reaction clicks, zoom persistence, and empty message rendering diff --git a/src/app/components/message/RenderBody.tsx b/src/app/components/message/RenderBody.tsx index 8a4c268b..e9e09c15 100644 --- a/src/app/components/message/RenderBody.tsx +++ b/src/app/components/message/RenderBody.tsx @@ -20,9 +20,9 @@ export function RenderBody({ htmlReactParserOptions, linkifyOpts, }: RenderBodyProps) { - if (body === '') ; + if (body === '') return ; if (customBody) { - if (customBody === '') ; + if (customBody === '') return ; return parse(sanitizeCustomHtml(customBody), htmlReactParserOptions); } return (