Update MsgTypeRenderers.tsx

This commit is contained in:
7w1 committed 2026-03-17 12:09:28 -05:00
1 parent 2a42941e4b
commit 1a9f41805a
1 file changed
+1 -1
@@ -121,7 +121,7 @@ export function MText({ edited, content, renderBody, renderUrlsPreview, style }:
return true;
}, [trimmedBody, safeCustomBody]);
if (!body) return <BrokenContent body={customBody ?? body} />;
if (!body && !customBody) return <BrokenContent body={customBody ?? body} />;
const urlsMatch = renderUrlsPreview && trimmedBody.match(URL_REG);
const urls = urlsMatch ? [...new Set(urlsMatch)] : undefined;