summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_body.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-02 10:32:00 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-02 10:33:08 -0500
commitd4ec6d3bf42d257851304fe9588f2db8bbbefa13 (patch)
treef22f766556fb2e0eae65d564b00435a2ffc418af /web/react/components/post_body.jsx
parent1e7ac66e3bcc796c705ed6a833161cab6bd5b65d (diff)
downloadchat-d4ec6d3bf42d257851304fe9588f2db8bbbefa13.tar.gz
chat-d4ec6d3bf42d257851304fe9588f2db8bbbefa13.tar.bz2
chat-d4ec6d3bf42d257851304fe9588f2db8bbbefa13.zip
Removing useless resize alert function in PostBody
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r--web/react/components/post_body.jsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx
index 7138e2cb4..e1f495d54 100644
--- a/web/react/components/post_body.jsx
+++ b/web/react/components/post_body.jsx
@@ -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
};