Removing useless resize alert function in PostBody

Этот коммит содержится в:
Christopher Speller
2015-11-02 10:32:00 -05:00
родитель 1e7ac66e3b
Коммит d4ec6d3bf4
3 изменённых файлов: 2 добавлений и 10 удалений

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

@@ -50,7 +50,6 @@ export default class PostBody extends React.Component {
componentDidUpdate() {
this.parseEmojis();
this.props.resize();
}
componentWillReceiveProps(nextProps) {
@@ -338,6 +337,5 @@ PostBody.propTypes = {
post: React.PropTypes.object.isRequired,
parentPost: React.PropTypes.object,
retryPost: React.PropTypes.func.isRequired,
handleCommentClick: React.PropTypes.func.isRequired,
resize: React.PropTypes.func.isRequired
handleCommentClick: React.PropTypes.func.isRequired
};