text: import React from "react";
  import ReactDOM from "react-dom";
  import { createStore, applyMiddleware, compose } from "redux";
  import { Provider } from "react-redux";
  import thunk from "redux-thunk";
  import logger from "redux-logger";
  
  // imports for redux setup
  import { reducer } from "./reducers";
  
  import AppRouter from "./AppRouter";
  
  import { ThemeProvider } from "@material-ui/core/styles";
  import CssBaseline from "@material-ui/core/CssBaseline";
  import theme from "./muiCustomTheme";
  import "./index.css";
  
  const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
  const store = createStore(
    reducer,
    composeEnhancers(applyMiddleware(thunk, logger))
  );
  
  ReactDOM.render(
    <ThemeProvider theme={theme}>
      <CssBaseline />
      <Provider store={store}>
        <AppRouter />
      </Provider>
    </ThemeProvider>,
    document.getElementById("root")
  );
  