diff --git a/Libraries/ReactNative/AppRegistry.js b/Libraries/ReactNative/AppRegistry.js index ab6fc74d1..1fdefe74d 100644 --- a/Libraries/ReactNative/AppRegistry.js +++ b/Libraries/ReactNative/AppRegistry.js @@ -109,14 +109,14 @@ const AppRegistry = { registerComponent( appKey: string, - component: ComponentProvider, + componentProvider: ComponentProvider, section?: boolean, ): string { runnables[appKey] = { - component, + componentProvider, run: (appParameters) => renderApplication( - componentProviderInstrumentationHook(component), + componentProviderInstrumentationHook(componentProvider), appParameters.initialProps, appParameters.rootTag )