From a93c6b254ce3ec856ccf8495b231f92b9a8d4cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 23 Apr 2019 22:01:11 +0100 Subject: [PATCH] fix(ui): drop whatwg-fetch import as it's included in react-app-polyfill --- ui/package.json | 3 +-- ui/src/index.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/package.json b/ui/package.json index 587558400..cfb01a13b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -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", diff --git a/ui/src/index.js b/ui/src/index.js index 11202bdde..ce468eb79 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -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";