# OpenChatChannel renderInput bug (UIKit React)

**URL:** https://community.sendbird.com/t/openchatchannel-renderinput-bug-uikit-react/5766
**Category:** Sendbird Chat UIKit
**Tags:** javascript
**Created:** [October 17, 2022, 8:00pm UTC](https://community.sendbird.com/t/openchatchannel-renderinput-bug-uikit-react/5766 "2022-10-17T20:00:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dzmitry\_Asipenka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/dzmitry_asipenka/32/2449_2.png) [@Dzmitry\_Asipenka](https://community.sendbird.com/u/Dzmitry_Asipenka)
#### Post date: [October 17, 2022, 8:00pm UTC](https://community.sendbird.com/t/openchatchannel-renderinput-bug-uikit-react/5766/1 "2022-10-17T20:00:26Z")

</div>

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:

```auto
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:

 ![2](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/3/36ea579e16abeeba5b5ce1d94b3f1909517f8942.png)

---

<div class="post-metadata">

### Author: ![Dzmitry\_Asipenka](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/dzmitry_asipenka/32/2449_2.png) [@Dzmitry\_Asipenka](https://community.sendbird.com/u/Dzmitry_Asipenka)
#### Post date: [October 18, 2022, 7:33am UTC](https://community.sendbird.com/t/openchatchannel-renderinput-bug-uikit-react/5766/2 "2022-10-18T07:33:58Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/6/690a20a924d9aa9d8ac0df18adaba8868e1f91c6.png)
