diff --git a/react-ui/package.json b/react-ui/package.json index 966727b..54195b9 100644 --- a/react-ui/package.json +++ b/react-ui/package.json @@ -7,8 +7,7 @@ }, "dependencies": { "react": "^15.4.2", - "react-dom": "^15.4.2", - "whatwg-fetch": "^2.0.2" + "react-dom": "^15.4.2" }, "scripts": { "start": "react-scripts start", diff --git a/react-ui/src/App.js b/react-ui/src/App.js index 0bed6f2..b11d360 100644 --- a/react-ui/src/App.js +++ b/react-ui/src/App.js @@ -1,12 +1,11 @@ import React, { Component } from 'react'; import logo from './logo.svg'; -import 'whatwg-fetch'; import './App.css'; class App extends Component { constructor(props) { super(props); - this.state = { + this.state = { message: null, fetching: true };