We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae3858 commit 18d8d3aCopy full SHA for 18d8d3a
package/src/components/Channel/Channel.tsx
@@ -1419,7 +1419,7 @@ const ChannelWithContext = (props: PropsWithChildren<ChannelPropsWithContext>) =
1419
messageResponse = await channel.sendMessage(messageData);
1420
}
1421
1422
- if (messageResponse.message) {
+ if (messageResponse?.message) {
1423
const newMessageResponse = {
1424
...messageResponse.message,
1425
status: MessageStatusTypes.RECEIVED,
0 commit comments