From 93f2b6a83302ceef5c98be4fb696840608ad3bc3 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Fri, 23 Sep 2016 12:29:54 -0400
Subject: Updating ESLint (#4085)

---
 webapp/components/sidebar_right.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'webapp/components/sidebar_right.jsx')

diff --git a/webapp/components/sidebar_right.jsx b/webapp/components/sidebar_right.jsx
index 7d9934919..ffafb9434 100644
--- a/webapp/components/sidebar_right.jsx
+++ b/webapp/components/sidebar_right.jsx
@@ -37,7 +37,7 @@ export default class SidebarRight extends React.Component {
         this.state = {
             searchVisible: SearchStore.getSearchResults() !== null,
             isMentionSearch: SearchStore.getIsMentionSearch(),
-            postRightVisible: !!PostStore.getSelectedPost(),
+            postRightVisible: Boolean(PostStore.getSelectedPost()),
             expanded: false,
             fromSearch: false,
             currentUser: UserStore.getCurrentUser(),
@@ -88,7 +88,7 @@ export default class SidebarRight extends React.Component {
             $('.app__body .inner-wrap').removeClass('move--left').removeClass('move--right');
             $('.app__body .sidebar--right').removeClass('move--left');
             return (
-                <div></div>
+                <div/>
             );
         }
 
@@ -118,7 +118,7 @@ export default class SidebarRight extends React.Component {
 
     onSelectedChange(fromSearch, fromFlaggedPosts) {
         this.setState({
-            postRightVisible: !!PostStore.getSelectedPost(),
+            postRightVisible: Boolean(PostStore.getSelectedPost()),
             fromSearch,
             fromFlaggedPosts
         });
-- 
cgit v1.2.3-1-g7c22

