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 a59b35b commit dcb41a4Copy full SHA for dcb41a4
src/components/ChannelPreview/ChannelPreviewMessenger.js
@@ -73,7 +73,7 @@ const ChannelPreviewMessenger = ({
73
const displayName = useChannelPreviewDisplayName(channel);
74
return (
75
<Container
76
- onPress={setActiveChannel.bind(null, channel)}
+ onPress={setActiveChannel && setActiveChannel.bind(null, channel)}
77
testID='channel-preview-button'
78
>
79
<Avatar image={displayAvatar.image} name={displayAvatar.name} size={40} />
0 commit comments