Skip to content

Commit

Permalink
Revert "RNTester-ios / RCTAppDelegate > correctly check for USE_HERME…
Browse files Browse the repository at this point in the history
…S Flag (#41573)"

This reverts commit 02a411e.
  • Loading branch information
cipolleschi committed Nov 23, 2023
1 parent a66cda9 commit f71b285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#import <React/RCTSurfaceHostingProxyRootView.h>
#import <React/RCTSurfacePresenter.h>
#import <ReactCommon/RCTContextContainerHandling.h>
#if RCT_USE_HERMES
#if USE_HERMES
#import <ReactCommon/RCTHermesInstance.h>
#else
#import <ReactCommon/RCTJscInstance.h>
Expand Down Expand Up @@ -291,7 +291,7 @@ - (void)createReactHost

- (std::shared_ptr<facebook::react::JSEngineInstance>)createJSEngineInstance
{
#if RCT_USE_HERMES
#if USE_HERMES
return std::make_shared<facebook::react::RCTHermesInstance>(_reactNativeConfig, nullptr);
#else
return std::make_shared<facebook::react::RCTJscInstance>();
Expand Down

0 comments on commit f71b285

Please sign in to comment.