Added comments for the force update functions
Этот коммит содержится в:
@@ -196,6 +196,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
this.setState(newState);
|
||||
} else {
|
||||
// Updates the timestamp on each post
|
||||
this.forceUpdate()
|
||||
}
|
||||
},
|
||||
|
||||
@@ -24,6 +24,7 @@ module.exports = React.createClass({
|
||||
UserStore.removeStatusesChangeListener(this._onChange);
|
||||
},
|
||||
_onChange: function() {
|
||||
// Updates the timestamp on each post
|
||||
this.forceUpdate();
|
||||
},
|
||||
_onSelectedChange: function(from_search) {
|
||||
|
||||
Ссылка в новой задаче
Block a user