diff options
author | jbion <joffrey.bion@amadeus.com> | 2017-01-20 16:11:24 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2017-01-20 16:11:35 +0100 |
commit | b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818 (patch) | |
tree | bdda009d448cb6b56415d90eae90eceb138318e4 /src/main/js/src/index.js | |
parent | Merge remote-tracking branch 'origin/feature/front' (diff) | |
download | seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.tar.gz seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.tar.bz2 seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.zip |
Move frontend and backend into 2 separate subprojects
Diffstat (limited to 'src/main/js/src/index.js')
-rw-r--r-- | src/main/js/src/index.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/main/js/src/index.js b/src/main/js/src/index.js deleted file mode 100644 index 3edce222..00000000 --- a/src/main/js/src/index.js +++ /dev/null @@ -1,26 +0,0 @@ -import 'babel-polyfill' - -import React from 'react' -import ReactDOM from 'react-dom' -import { Router, Route } from 'react-router' -import { Provider } from 'react-redux' -import configureStore from './store' - -const initialState = {} -const { store, history } = configureStore(initialState) - -import './global-styles.css' -import HomePage from './containers/HomePage' -import Error404 from './components/errors/Error404' - -ReactDOM.render( - <Provider store={store}> - <Router history={history}> - <div className="app"> - <Route path="/" component={HomePage}/> - <Route path="*" component={Error404}/> - </div> - </Router> - </Provider>, - document.getElementById('root') -); |