Skip to content

Commit

Permalink
Fabric: fix order of arguments for ShadowNodeFragment
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: shergin

Differential Revision: D19109689

fbshipit-source-id: 6c7b477324376e95dac1c381e339a23f261a0d60
  • Loading branch information
sammy-SC authored and facebook-github-bot committed Dec 17, 2019
1 parent 948cbfd commit b02d516
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b02d516

Please sign in to comment.