
import React, { Component } from 'react'
import { Router, Route, browserHistory, } from 'react-router'
import { Provider } from 'react-redux'
import configureStore from '../store/configure-store'
import ClassificationExplorer from './classification-explorer'
import ClassificationDetails from './classification-details'
import ItemDetails from './item-details'
import { path } from '../router-mapping'

const store = configureStore()

export default class Root extends Component {
  render() {
    return (
      <Provider store={store}>
        <Router history={browserHistory}>
          <Route path="/" component={ClassificationExplorer} />
          <Route path={path.classificationDetails}
                 component={ClassificationDetails} />
          <Route path={path.itemDetails.pattern}
                 component={ItemDetails} />
        </Router>
      </Provider>
    )
  }
}


import React, { Component } from 'react'
import { Router, Route, browserHistory, } from 'react-router'
import { Provider } from 'react-redux'
import configureStore from '../store/configure-store'
import ClassificationExplorer from './classification-explorer'
import ClassificationDetails from './classification-details'
import ItemDetails from './item-details'
import { path } from '../router-mapping'

const store = configureStore()

export default class Root extends Component {
  render() {
    return (
      <Provider store={store}>
        <Router history={browserHistory}>
          <Route path="/" component={ClassificationExplorer} />
          <Route path={path.classificationDetails}
                 component={ClassificationDetails} />
          <Route path={path.itemDetails}
                 component={ItemDetails} />
        </Router>
      </Provider>
    )
  }
}

Fix issue in item details route
Fix issue in item details route

