Fabric: Simplified `RootShadowNode` instantiation
Summary: @public Trivial. `children = ShadowNode::emptySharedShadowNodeSharedList()` is already a default. Reviewed By: rsnara Differential Revision: D9650218 fbshipit-source-id: ad5c17776866b1dc800f68b0a54b9ac3f70de3f6
This commit is contained in:
parent
1183d82884
commit
f341541899
|
@ -25,7 +25,6 @@ ShadowTree::ShadowTree(Tag rootTag):
|
||||||
.rootTag = rootTag,
|
.rootTag = rootTag,
|
||||||
.props = RootShadowNode::defaultSharedProps(),
|
.props = RootShadowNode::defaultSharedProps(),
|
||||||
.eventEmitter = noopEventEmitter,
|
.eventEmitter = noopEventEmitter,
|
||||||
.children = ShadowNode::emptySharedShadowNodeSharedList(),
|
|
||||||
},
|
},
|
||||||
nullptr
|
nullptr
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue