Skip to content

Commit f64d468

Browse files
author
Robert S
committed
add react-app-polyfill
1 parent ad07417 commit f64d468

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"history": "4.10.1",
5050
"lodash.groupby": "4.6.0",
5151
"react": "16.12.0",
52+
"react-app-polyfill": "1.0.5",
5253
"react-dom": "16.12.0",
5354
"react-redux": "7.1.3",
5455
"react-router-dom": "5.1.2",

src/index.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import 'react-app-polyfill/ie11';
2+
import 'react-app-polyfill/stable';
3+
14
import './index.scss';
25

36
import React from 'react';
@@ -14,7 +17,6 @@ import environment from 'environment';
1417
const store = rootStore(initialState, history);
1518

1619
const rootEl = document.getElementById('root');
17-
1820
const render = (Component, el) => {
1921
ReactDOM.render(
2022
<Provider store={store}>

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9090,7 +9090,7 @@ raw-body@2.4.0:
90909090
iconv-lite "0.4.24"
90919091
unpipe "1.0.0"
90929092

9093-
react-app-polyfill@^1.0.5:
9093+
react-app-polyfill@1.0.5, react-app-polyfill@^1.0.5:
90949094
version "1.0.5"
90959095
resolved "https://registry.yarnpkg.com/react-app-polyfill/-/react-app-polyfill-1.0.5.tgz#59c7377a0b9ed25692eeaca7ad9b12ef2d064709"
90969096
integrity sha512-RcbV6+msbvZJZUIK/LX3UafPtoaDSJgUWu4sqBxHKTVmBsnlU2QWCKJRBRmgjxu+ivW/GPINbPWRM4Ppa6Lbgw==

0 commit comments

Comments
 (0)