Skip to content

Commit 225a1a6

Browse files
committed
Change order
1 parent 94a6fb5 commit 225a1a6

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
@@ -346,8 +346,8 @@ ShadowNode::Unshared ShadowNode::cloneTree(
346346

347347
childNode = parentNode.clone(
348348
{.children = std::make_shared<ShadowNode::ListOfShared>(children),
349-
.traits = traits,
350-
.state = parentNode.getState()});
349+
.state = parentNode.getState(),
350+
.traits = traits});
351351
}
352352

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

0 commit comments

Comments
 (0)