Skip to content

Commit

Permalink
Fix capitalization of ComponentFactory in RNTester
Browse files Browse the repository at this point in the history
Summary:
This is a nit, but the capitalization of `ComponentFactory` is wrong
and should be lowercase. I'm fixing it.

Changelog:
[Internal] [Changed] - Fix capitalization of ComponentFactory in RNTester

Reviewed By: ShikaSD

Differential Revision: D32247341

fbshipit-source-id: e8a9f264139f20d85a8e00fad947b2c9465ef630
  • Loading branch information
cortinico authored and facebook-github-bot committed Nov 8, 2021
1 parent 0f39a10 commit 83116e3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ public JSIModuleType getJSIModuleType() {

@Override
public JSIModuleProvider<UIManager> getJSIModuleProvider() {
final ComponentFactory ComponentFactory = new ComponentFactory();
CoreComponentsRegistry.register(ComponentFactory);
final ComponentFactory componentFactory = new ComponentFactory();
CoreComponentsRegistry.register(componentFactory);
final ReactInstanceManager reactInstanceManager = getReactInstanceManager();

ViewManagerRegistry viewManagerRegistry =
Expand All @@ -150,7 +150,7 @@ public JSIModuleProvider<UIManager> getJSIModuleProvider() {

return new FabricJSIModuleProvider(
reactApplicationContext,
ComponentFactory,
componentFactory,
// TODO: T71362667 add ReactNativeConfig's support in RNTester
new ReactNativeConfig() {
@Override
Expand Down

0 comments on commit 83116e3

Please sign in to comment.