import { CssBaseline } from '@material-ui/core' ; import { ConnectedRouter } from 'connected-react-router' ; import React from 'react' ; import ReactDOM from 'react-dom' ; import { Provider } from 'react-redux' ; import App from './App' ; import * as serviceWorker from './serviceWorker' ; import configureStore , { history } from './store' ; const store = configureStore ( ) ; ReactDOM . render ( < React . StrictMode > < CssBaseline /> < Provider store = { store } > < ConnectedRouter history = { history } > < App /> < /ConnectedRouter> < /Provider> < /React.StrictMode>, document.getElementById('root')); serviceWorker . unregister ( ) ;