Skip to content

Commit

Permalink
Change order
Browse files Browse the repository at this point in the history
  • Loading branch information
j-piasecki committed Sep 13, 2024
1 parent 929822c commit 97e7e79
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ ShadowNode::Unshared ShadowNode::cloneTree(

childNode = parentNode.clone(
{.children = std::make_shared<ShadowNode::ListOfShared>(children),
.traits = traits,
.state = parentNode.getState()});
.state = parentNode.getState(),
.traits = traits});
}

return std::const_pointer_cast<ShadowNode>(childNode);
Expand Down

0 comments on commit 97e7e79

Please sign in to comment.