text: import React from 'react';
  import ReactDOM from 'react-dom';
  
  import './index.scss';
  import 'bootstrap/dist/css/bootstrap.min.css';
  import App from './App';
  
  import { BrowserRouter as Router, withRouter } from 'react-router-dom';
  
  import { Provider } from 'react-redux';
  import { createStore, applyMiddleware, compose } from 'redux';
  // import logger from "redux-logger";
  
  import thunk from 'redux-thunk';
  
  import { rootReducer } from './reducers';
  
  const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
  const store = createStore(
    rootReducer,
    composeEnhancers(applyMiddleware(thunk))
  );
  
  const AppWithRouter = withRouter(App);
  
  ReactDOM.render(
    <Provider store={store}>
      <Router>
        <AppWithRouter />
      </Router>
    </Provider>,
    document.getElementById('root')
  );
  