fix wrong method name
yiminghe committed
Oct 22, 2015 at 00:05 UTC
85fc28624c832df70c6b10c0cf288e2b2fb93542
1 file changed
+1
-1
src/renderers/shared/reconciler/ReactMultiChild.js
+1
-1
@@ -315,7 +315,7 @@ var ReactMultiChild = {
315
ReactChildReconciler.unmountChildren(prevChildren);
316
for (var name in prevChildren) {
317
if (prevChildren.hasOwnProperty(name)) {
318
- this._unmountChildByName(prevChildren[name], name);
318
+ this._unmountChild(prevChildren[name]);
319
}
320
}
321
this.setMarkup(nextMarkup);