summaryrefslogtreecommitdiffstats
path: root/web/react/components/sidebar_right.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/sidebar_right.jsx')
-rw-r--r--web/react/components/sidebar_right.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/sidebar_right.jsx b/web/react/components/sidebar_right.jsx
index ee247265d..b81c0d099 100644
--- a/web/react/components/sidebar_right.jsx
+++ b/web/react/components/sidebar_right.jsx
@@ -87,6 +87,7 @@ export default class SidebarRight extends React.Component {
$('.sidebar__overlay').remove();
});
}, 500);*/
+ return null;
}
componentDidUpdate() {
this.doStrangeThings();
@@ -115,7 +116,7 @@ export default class SidebarRight extends React.Component {
var content = '';
if (this.state.search_visible) {
- content = <SearchResults isMentionSearch={this.state.is_mention_search} />;
+ content = <SearchResults isMentionSearch={this.state.is_mention_search}/>;
} else if (this.state.post_right_visible) {
content = (
<RhsThread