mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix Clowny Validation Code
ಠ_ಠ
This commit is contained in:
committed by
Paul O’Shannessy
parent
8db2ba9130
commit
067fe27699
@@ -582,7 +582,7 @@ var ReactCompositeComponentMixin = {
|
||||
* @protected
|
||||
*/
|
||||
replaceState: function(completeState, callback) {
|
||||
validateLifeCycleOnReplaceState.call(null, this);
|
||||
validateLifeCycleOnReplaceState(this);
|
||||
this._pendingState = completeState;
|
||||
ReactUpdates.enqueueUpdate(this, callback);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user