From f6c3215cd72dba34a9c18ece87c48201ded83fb8 Mon Sep 17 00:00:00 2001 From: philn5d-ar <55406902+philn5d-ar@users.noreply.github.com> Date: Tue, 7 Sep 2021 13:29:17 -0500 Subject: [PATCH] Add .finally to IE11 Promise IE11 polyfill fails to provide .finally, this should do the trick. --- packages/react-app-polyfill/ie11.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-app-polyfill/ie11.js b/packages/react-app-polyfill/ie11.js index b61390923..300d04e3e 100644 --- a/packages/react-app-polyfill/ie11.js +++ b/packages/react-app-polyfill/ie11.js @@ -12,6 +12,7 @@ if (typeof Promise === 'undefined') { // and the user has no idea what causes React's erratic future behavior. require('promise/lib/rejection-tracking').enable(); self.Promise = require('promise/lib/es6-extensions.js'); + self.Promise = require('promise/lib/finally.js'); } // Make sure we're in a Browser-like environment before importing polyfills -- GitLab