summaryrefslogtreecommitdiff
path: root/frontend/src/index.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-05-20 15:00:13 +0200
committerVictor Chabbert <chabbertvi@eisti.eu>2017-05-20 15:00:13 +0200
commit33e3b361d4e9758bbbab1d23ac6b51a2af21e781 (patch)
tree8670e3b4f4e76dc52a852a46d6c8170c982ec9f0 /frontend/src/index.js
parentFixed 'unused React' warning (diff)
downloadseven-wonders-33e3b361d4e9758bbbab1d23ac6b51a2af21e781.tar.gz
seven-wonders-33e3b361d4e9758bbbab1d23ac6b51a2af21e781.tar.bz2
seven-wonders-33e3b361d4e9758bbbab1d23ac6b51a2af21e781.zip
Upgrade react-scripts to 1.0.1
Diffstat (limited to 'frontend/src/index.js')
-rw-r--r--frontend/src/index.js23
1 files changed, 11 insertions, 12 deletions
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 08f257f3..5fd52c01 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -1,21 +1,20 @@
-import 'babel-polyfill'
+import "babel-polyfill";
+import "./global-styles.css";
-import React from 'react'
-import ReactDOM from 'react-dom'
-import { Router } from 'react-router'
-import { Provider } from 'react-redux'
+import React from "react";
+import ReactDOM from "react-dom";
+import { Router } from "react-router";
+import { Provider } from "react-redux";
-import configureStore from './store'
-import { routes } from './routes'
+import configureStore from "./store";
+import { routes } from "./routes";
-const initialState = {}
-const { store, history } = configureStore(initialState)
-
-import './global-styles.css'
+const initialState = {};
+const { store, history } = configureStore(initialState);
ReactDOM.render(
<Provider store={store}>
<Router history={history} routes={routes} />
</Provider>,
- document.getElementById('root')
+ document.getElementById("root")
);
bgstack15