Fixing react warnings on permalink return

Этот коммит содержится в:
Christopher Speller
2016-03-29 19:24:53 -04:00
родитель a6a0f18166
Коммит e7ea080fd3
3 изменённых файлов: 11 добавлений и 5 удалений

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

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