import createBrowserHistory from 'history/lib/createBrowserHistory'
import { syncReduxAndRouter } from 'redux-simple-router'
import routes from './routes'
import Root from './containers/Root'
import configureStore from './redux/configureStore'

const history = createBrowserHistory()
const store = configureStore(window.__INITIAL_STATE__)

syncReduxAndRouter(history, store, (state) => state.router)

// Render the React application to the DOM
ReactDOM.render(
  <Root history={history} routes={routes} store={store} />,
  document.getElementById('root')
)

@@ -2,31 +2,28 @@
 mport create
-Browser
+Hash
 History from
@@ -38,31 +38,28 @@
 y/lib/create
-Browser
+Hash
 History'%0Aimp
@@ -258,15 +258,12 @@
 eate
-Browser
+Hash
 Hist

fix history creation