text: import React from 'react';
  import {render} from 'react-dom';
  import {Provider} from 'react-redux';
  import {ConnectedRouter} from 'connected-react-router';
  import store, {history} from './redux/store';
  import App from './components/App';
  import './index.css';
  
  const renderApp = () =>
    render(
      <Provider store={store}>
        <ConnectedRouter history={history}>
          <App history={history} />
        </ConnectedRouter>
      </Provider>,
      document.getElementById('root'),
    );
  
  renderApp();
  