summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_info.jsx
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-09 14:11:38 -0700
committernickago <ngonella@calpoly.edu>2015-07-09 14:12:37 -0700
commit702112dfb315462919d276a72be2936ad45d7ceb (patch)
tree3bd70c9f82134fc9b1474b24f16ddd1be64c73c6 /web/react/components/post_info.jsx
parent04b80b6a25cddce0a44da1409ddc430bc8e797f5 (diff)
downloadchat-702112dfb315462919d276a72be2936ad45d7ceb.tar.gz
chat-702112dfb315462919d276a72be2936ad45d7ceb.tar.bz2
chat-702112dfb315462919d276a72be2936ad45d7ceb.zip
Placed event listeners on higher level components to avoid app dispatcher vomit
Diffstat (limited to 'web/react/components/post_info.jsx')
-rw-r--r--web/react/components/post_info.jsx9
1 files changed, 0 insertions, 9 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index e06baee87..cf01747f0 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -5,15 +5,6 @@ var UserStore = require('../stores/user_store.jsx');
var utils = require('../utils/utils.jsx');
module.exports = React.createClass({
- componentDidMount: function() {
- UserStore.addStatusesChangeListener(this._onChange);
- },
- componentWillUnmount: function() {
- UserStore.removeStatusesChangeListener(this._onChange);
- },
- _onChange: function() {
- this.forceUpdate();
- },
getInitialState: function() {
return { };
},