text: import React from 'react';
  import { Provider } from 'react-redux';
  import { ConnectedRouter } from 'react-router-redux';
  
  import configureStore from '../store/configureStore';
  import { history } from '../router/history';
  import { MainRouter } from './MainRouter';
  
  
  const store = configureStore();
  
  const Routes = () => (
    <Provider store={store}>
      <div>
        <ConnectedRouter history={history}>
          <MainRouter/>
        </ConnectedRouter>
      </div>
    </Provider>
  );
  
  export default Routes;
  