fix-weird-bug

Signed-off-by: Shea <[email protected]>
This commit is contained in:
Shea committed 2026-06-26 02:24:03 +03:00
1 parent 28344f86ba
commit 0ece14054f
1 file changed
+2 -1
+2 -1
View File
@@ -355,7 +355,8 @@ export const Reply = as<'div', ReplyProps>(
}
)?.question;
image = timelineIcon(ListBullets);
bodyJSX = `'s poll asking ${(question[M_TEXT.name] as string) ?? question.body ?? ''}`;
if (question)
bodyJSX = `'s poll asking ${(question[M_TEXT.name] as string) ?? question?.body ?? ''}`;
} else if (isFormattedReply && formattedBody !== '') {
const sanitizedHtml = sanitizeReplyFormattedPreview(formattedBody);
if (shouldParseReplyFormattedPreview(sanitizedHtml)) {