Hey! Sending a message using the UI component OpenChannelInput does not work for me. What could be the problem?
“sendbird/chat”: “^4.1.0”,
“@sendbird/uikit-react”: “^3.2.3”
My component:
const OpenChatChannel = () => {
const { selectedOpenChat } = useSelector(chatSelector)
return (
<OpenChannel
channelUrl={selectedOpenChat!}
renderInput={() => {
return <OpenChannelInput />
}}
/>
)
}
export default withSendbird(OpenChatChannel, (store) => {
return {
sdk: sendbirdSelectors.getSdk(store),
store,
}
})
Error: