Fabric: fix order of arguments for ShadowNodeFragment

Summary: Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D19109689

fbshipit-source-id: 6c7b477324376e95dac1c381e339a23f261a0d60
This commit is contained in:
Samuel Susla
2019-12-17 03:43:35 -08:00
committed by Facebook Github Bot
parent 948cbfdacc
commit b02d516d7c
@@ -177,7 +177,7 @@ SharedShadowNode ComponentDescriptorRegistry::createNode(
auto const props =
componentDescriptor.cloneProps(nullptr, RawProps(propsDynamic));
auto const state = componentDescriptor.createInitialState(
ShadowNodeFragment{surfaceId, tag, props, eventEmitter});
ShadowNodeFragment{tag, surfaceId, props, eventEmitter});
return componentDescriptor.createShadowNode({
/* .tag = */ tag,