content: import React from 'react';
  import {Router, Route, IndexRoute, hashHistory} from 'react-router';
  import {Provider} from 'react-redux';
  import {createStore, applyMiddleware} from 'redux';
  import thunk from 'redux-thunk';
  import promise from 'redux-promise';
  
  import rootReducer from '../reducers/index';
  
  import App from './App';
  import Settings from './Settings';
  import CardSearch from './CardSearch';
  import CardDetail from './CardDetail';
  import ManageDecks from './ManageDecks';
  import EditDeck from './EditDeck';
  import Collection from './Collection';
  import ReportCard from './ReportCard';
  import FAQ from './FAQ';
  
  const store = createStore(rootReducer, applyMiddleware(thunk, promise));
  
  var RouterComp = () => (
    <Provider store={store}>
      <Router history={hashHistory}>
        <Route path="/" component={App}>
          <IndexRoute component={CardSearch} />
          <Route path="card/:id" component={CardDetail} />
          <Route path="report-card/:id" component={ReportCard} />
          <Route path="settings" component={Settings} />
          <Route path="decks" component={ManageDecks} />
          <Route path="editDeck" component={EditDeck} />
          <Route path="collection" component={Collection} />
          <Route path="faq" component={FAQ}/>
        </Route>
      </Router>
    </Provider>
  );
  
  export default RouterComp;
  