summaryrefslogtreecommitdiffstats
path: root/webapp/components/channel_view.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-05-27 16:01:28 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-27 16:01:28 -0400
commit6399a94ce221be3d15e7132654c28cd953075ec6 (patch)
tree4b1927fdd8374e8bd3cb809ecb720f2689043358 /webapp/components/channel_view.jsx
parentca9f348be6bf62fc888df9a710c9af155872528e (diff)
downloadchat-6399a94ce221be3d15e7132654c28cd953075ec6.tar.gz
chat-6399a94ce221be3d15e7132654c28cd953075ec6.tar.bz2
chat-6399a94ce221be3d15e7132654c28cd953075ec6.zip
PLT-2672 Refactored posts view with caching (#3054)
* Refactored posts view to use view controller design * Add post view caching * Required updates after rebase * Fixed bug where current channel not set yet was causing breakage
Diffstat (limited to 'webapp/components/channel_view.jsx')
-rw-r--r--webapp/components/channel_view.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/channel_view.jsx b/webapp/components/channel_view.jsx
index 6511d960a..ff101bca7 100644
--- a/webapp/components/channel_view.jsx
+++ b/webapp/components/channel_view.jsx
@@ -7,7 +7,7 @@ import React from 'react';
import ChannelHeader from 'components/channel_header.jsx';
import FileUploadOverlay from 'components/file_upload_overlay.jsx';
import CreatePost from 'components/create_post.jsx';
-import PostsViewContainer from 'components/posts_view_container.jsx';
+import PostViewCache from 'components/post_view/post_view_cache.jsx';
import ChannelStore from 'stores/channel_store.jsx';
@@ -70,7 +70,7 @@ export default class ChannelView extends React.Component {
<ChannelHeader
channelId={this.state.channelId}
/>
- <PostsViewContainer/>
+ <PostViewCache/>
<div
className='post-create__container'
id='post-create'