fix(ui): drop whatwg-fetch import as it's included in react-app-polyfill

This commit is contained in:
Łukasz Mierzwa
2019-04-23 22:01:11 +01:00
parent 5075f5bcf6
commit a93c6b254c
2 changed files with 1 additions and 5 deletions

View File

@@ -50,8 +50,7 @@
"react-tippy": "1.2.3",
"react-transition-group": "4.0.0",
"react-truncate": "2.4.0",
"semver": "6.0.0",
"whatwg-fetch": "3.0.0"
"semver": "6.0.0"
},
"scripts": {
"start": "NODE_ENV=dev REACT_APP_BACKEND_URI=http://localhost:8080 react-scripts start",

View File

@@ -2,9 +2,6 @@
// https://github.com/facebook/create-react-app/blob/master/packages/react-app-polyfill/README.md
import "react-app-polyfill/stable";
// fetch() polyfill for IE and some mobile browsers
import "whatwg-fetch";
import React from "react";
import ReactDOM from "react-dom";