diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-31 10:54:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-31 10:58:12 -0400 |
commit | 54a064de98f43c55bed429867493e6f5c7e97379 (patch) | |
tree | b4991a5ce3856a804ccf870bbdef41f69649e779 /webapp/components/posts_view_container.jsx | |
parent | c8b2af62468c5d0906ba08d3e2a378681f99eb08 (diff) | |
download | chat-54a064de98f43c55bed429867493e6f5c7e97379.tar.gz chat-54a064de98f43c55bed429867493e6f5c7e97379.tar.bz2 chat-54a064de98f43c55bed429867493e6f5c7e97379.zip |
Fixing username display in center channel
Diffstat (limited to 'webapp/components/posts_view_container.jsx')
-rw-r--r-- | webapp/components/posts_view_container.jsx | 12 |
1 files changed, 0 insertions, 12 deletions
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; |