# Registering Sidebar Component

**URL:** <https://forum.mattermost.com/t/registering-sidebar-component/9952>\
**Category:** Troubleshooting\
**Created:** [June 10, 2020, 6:29pm UTC](https://forum.mattermost.com/t/registering-sidebar-component/9952 "2020-06-10T18:29:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhoffman](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jhoffman](https://forum.mattermost.com/u/jhoffman)\
**Post date:** [June 10, 2020, 6:29pm UTC](https://forum.mattermost.com/t/registering-sidebar-component/9952/1 "2020-06-10T18:29:51Z")

</div>

I am having trouble getting a new sidebar component to show up. I have a channel header button that calls store.dispatch(showRHSPlugin) which I get from `const {showRHSPlugin} = registry.registerRightHandSidebarComponent(<TestComponent/>, "title here");`. Whenever I press the channel header button, the websocket is closed, and the window goes white. Any help getting it to show up is appreciated.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [June 11, 2020, 5:49pm UTC](https://forum.mattermost.com/t/registering-sidebar-component/9952/2 "2020-06-11T17:49:06Z")

</div>

Would you be open to asking about this on our [Peer-to-peer Help channel](https://community-release.mattermost.com/core/channels/peer-to-peer-help)? I’m not sure how to help with your issue but our community and devs are more actively responding to issues in the channel.
