Skip to content

Commit

Permalink
chore: no need to remove polyfill promise as injecting it on initiali…
Browse files Browse the repository at this point in the history
…zeCore fixes the issue
  • Loading branch information
andreabadesso committed Feb 15, 2024
1 parent 3b0f67a commit 0628d10
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions patches/react-native+0.72.5.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/react-native/Libraries/Core/InitializeCore.js b/node_modules/react-native/Libraries/Core/InitializeCore.js
index 25377f6..7ab3637 100644
index 25377f6..b0dd11d 100644
--- a/node_modules/react-native/Libraries/Core/InitializeCore.js
+++ b/node_modules/react-native/Libraries/Core/InitializeCore.js
@@ -24,13 +24,44 @@
@@ -24,6 +24,37 @@

'use strict';

Expand Down Expand Up @@ -40,11 +40,3 @@ index 25377f6..7ab3637 100644
const start = Date.now();

require('./setUpGlobals');
require('./setUpDOM');
require('./setUpPerformance');
require('./setUpErrorHandling');
-require('./polyfillPromise');
+// require('./polyfillPromise');
require('./setUpRegeneratorRuntime');
require('./setUpTimers');
require('./setUpXHR');

0 comments on commit 0628d10

Please sign in to comment.