diff --git a/ReactCommon/fabric/components/view/yoga/YogaLayoutableShadowNode.cpp b/ReactCommon/fabric/components/view/yoga/YogaLayoutableShadowNode.cpp index 7b198efc6..026b7f6f2 100644 --- a/ReactCommon/fabric/components/view/yoga/YogaLayoutableShadowNode.cpp +++ b/ReactCommon/fabric/components/view/yoga/YogaLayoutableShadowNode.cpp @@ -80,9 +80,6 @@ void YogaLayoutableShadowNode::appendChild(YogaLayoutableShadowNode *child) { auto yogaNodeRawPtr = &yogaNode_; auto childYogaNodeRawPtr = &child->yogaNode_; - // Cloned node must not be reinserted to the same parent. - assert(childYogaNodeRawPtr->getOwner() != yogaNodeRawPtr); - if (childYogaNodeRawPtr->getOwner() != nullptr) { child = static_cast( cloneAndReplaceChild(child, yogaNode_.getChildren().size()));