import { Provider } from 'react-redux'
import React, { Component } from 'react'
import { syncHistoryWithStore } from 'react-router-redux'
import { Router, browserHistory } from 'react-router'

import routes from '../../routes'
import configureStore from '../../store/configure-store'

let state = window.$REACTBASE_STATE
const store = configureStore(state)
const history = syncHistoryWithStore(browserHistory, store)

class Root extends Component {

  render() {
    return (
      <Provider store={ store }>
        <Router history={ browserHistory } routes={ routes } />
      </Provider>
    )
  }
}


export default Root

@@ -77,66 +77,8 @@
 ct'%0A
-import %7B syncHistoryWithStore %7D from 'react-router-redux'%0A
 impo
@@ -295,68 +295,8 @@
 ate)
-%0Aconst history = syncHistoryWithStore(browserHistory, store)
 %0A%0Acl

Remove unncesary import