From 54a064de98f43c55bed429867493e6f5c7e97379 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 31 Mar 2016 10:54:40 -0400
Subject: Fixing username display in center channel

---
 webapp/components/posts_view_container.jsx | 12 ------------
 1 file changed, 12 deletions(-)

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

diff --git a/webapp/components/posts_view_container.jsx b/webapp/components/posts_view_container.jsx
index 7e334d4b0..a49c77f8d 100644
--- a/webapp/components/posts_view_container.jsx
+++ b/webapp/components/posts_view_container.jsx
@@ -8,7 +8,6 @@ import ChannelStore from 'stores/channel_store.jsx';
 import PostStore from 'stores/post_store.jsx';
 import UserStore from 'stores/user_store.jsx';
 
-import * as Utils from 'utils/utils.jsx';
 import * as GlobalActions from 'action_creators/global_actions.jsx';
 
 import Constants from 'utils/constants.jsx';
@@ -158,17 +157,6 @@ export default class PostsViewContainer extends React.Component {
             this.setState({scrollType: PostsView.SCROLL_TYPE_FREE});
         }
     }
-    shouldComponentUpdate(nextProps, nextState) {
-        if (!Utils.areObjectsEqual(this.state, nextState)) {
-            return true;
-        }
-
-        if (!Utils.areObjectsEqual(this.props, nextProps)) {
-            return true;
-        }
-
-        return false;
-    }
     render() {
         const postLists = this.state.postLists;
         const channels = this.state.channels;
-- 
cgit v1.2.3-1-g7c22

