text: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Provider } from 'react-redux';
  import { createStore, applyMiddleware } from 'redux';
  import '../style/main.scss';
  
  import reducers from './reducers';
  import thunk from 'redux-thunk';
  
  import App from "./container/App";
  
  const createStoreWithMiddleware = applyMiddleware(thunk)(createStore);
  
  ReactDOM.render(
    <Provider store={createStoreWithMiddleware(reducers, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())}>
      <App/>
    </Provider>
    , document.querySelector('.choose-flag-wrapper'));
  