mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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,
|
||||
|
||||
Reference in New Issue
Block a user