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:
1 parent
8db2ba9130
commit
067fe27699
1 file changed
+1
-1
@@ -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