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 f191732 commit d0d2203Copy full SHA for d0d2203
package/src/components/Channel/Channel.tsx
@@ -560,7 +560,7 @@ const ChannelWithContext = <
560
handleRetry,
561
handleThreadReply,
562
hasCameraPicker = isImagePickerAvailable(),
563
- hasCommands = (channel.getConfig()?.commands ?? []).length > 0,
+ hasCommands = (channel?.getConfig()?.commands ?? []).length > 0,
564
hasCreatePoll,
565
// If pickDocument isn't available, default to hiding the file picker
566
hasFilePicker = isDocumentPickerAvailable(),
0 commit comments