mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix merge conflict in #4940
This commit is contained in:
@@ -458,7 +458,7 @@ ReactShallowRenderer.prototype._render = function(element, transaction, context)
|
||||
if (this._instance) {
|
||||
this._instance.receiveComponent(element, transaction, context);
|
||||
} else {
|
||||
var instance = new ShallowComponentWrapper(element.type);
|
||||
var instance = new ShallowComponentWrapper(element);
|
||||
instance.mountComponent(transaction, null, null, context);
|
||||
this._instance = instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user