Skip to content

Commit 97e7e79

Browse files
committed
Change order
1 parent 929822c commit 97e7e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/ReactCommon/react/renderer/core/ShadowNode.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ ShadowNode::Unshared ShadowNode::cloneTree(
371371

372372
childNode = parentNode.clone(
373373
{.children = std::make_shared<ShadowNode::ListOfShared>(children),
374-
.traits = traits,
375-
.state = parentNode.getState()});
374+
.state = parentNode.getState(),
375+
.traits = traits});
376376
}
377377

378378
return std::const_pointer_cast<ShadowNode>(childNode);

0 commit comments

Comments
 (0)