diff --git a/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx b/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx index 293c07e039..e4b36fa9c6 100644 --- a/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx +++ b/web/screens/Thread/ThreadCenterPanel/SimpleTextMessage/index.tsx @@ -61,7 +61,9 @@ const SimpleTextMessage: React.FC<Props> = ({ const message = msg.content[0] if (message && message.type === 'text') { const textBlockContent = message as TextContentBlock - setText(textBlockContent.text.value) + // Check for compatible message object type - There was a problem with legacy message object compatibility, which broke the app. + if (typeof textBlockContent.text.value === 'string') + setText(textBlockContent.text.value) } } }, [msg.content])