Skip to content

Commit

Permalink
Fix PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgzf committed Jul 13, 2020
1 parent eb45d1d commit e28803a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/src/entry/App.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// core-js has issues with Promise feature detection on Edge, and hence
// polyfills Promise incorrectly. Importing this polyfill directly resolves that.
// This is necessary as PersistGate uses `Promise.prototype.finally`.
// See: https://github.com/zloirock/core-js/issues/579#issuecomment-504325213
import 'core-js/es/promise/finally';
import { Store } from 'redux';
import { State } from 'types/state';
import { Persistor } from 'storage/persistReducer';
Expand All @@ -7,11 +12,6 @@ import { hot } from 'react-hot-loader/root';
import { BrowserRouter as Router } from 'react-router-dom';
import { Provider } from 'react-redux';
import { PersistGate } from 'redux-persist/integration/react';
import 'core-js/es/promise/finally';
// core-js has issues with Promise feature detection on Edge, and hence
// polyfills Promise incorrectly. Importing this polyfill directly resolves that
// This is necessary as PersistGate uses Promise.prototype.finally
// See: https://github.com/zloirock/core-js/issues/579#issuecomment-504325213

import AppShell from 'views/AppShell';
import Routes from 'views/routes/Routes';
Expand Down

0 comments on commit e28803a

Please sign in to comment.