Fabric: Removed unnecessary call in `RootShadowNode::clone`
Summary: The removed code does nothing because we are replacing the oldChild with newChild several lines above. Reviewed By: JoshuaGross Differential Revision: D14402637 fbshipit-source-id: 731a950f373e20f7d5bae3cbf6470335d3694ccc
This commit is contained in:
Родитель
50b40a41c0
Коммит
b93221036a
|
@ -70,8 +70,6 @@ UnsharedRootShadowNode RootShadowNode::clone(
|
|||
/* .children = */ sharedChildren,
|
||||
});
|
||||
|
||||
newParent->replaceChild(oldChild, newChild);
|
||||
|
||||
oldChild = oldParent;
|
||||
newChild = newParent;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче