Merge pull request #2595 from hmhealey/plt2480

PLT-2480 Fixed errors when joining a channel that doesn't exist yet
Этот коммит содержится в:
Joram Wilander
2016-03-31 12:47:04 -04:00
родитель 7dee877c19 098873e667
Коммит 720947e17e
4 изменённых файлов: 6 добавлений и 8 удалений

Просмотреть файл

@@ -374,6 +374,7 @@ export default class PostsView extends React.Component {
componentWillUnmount() {
window.removeEventListener('resize', this.handleResize);
this.scrollStopAction.cancel();
PreferenceStore.removeChangeListener(this.updateState);
}
componentDidUpdate() {
if (this.props.postList != null) {