text: import React from "react";
  import ReactDOM from "react-dom";
  import { createStore, applyMiddleware } from "redux";
  import thunk from "redux-thunk";
  import { createLogger } from "redux-logger";
  import { Provider } from "react-redux";
  import { allReducers } from "./reducers";
  import App from "./components/app/app";
  
  import "./styles.css";
  
  const rootElement = document.getElementById("root");
  const logger = createLogger();
  
  const store = createStore(allReducers, applyMiddleware(thunk, logger));
  
  ReactDOM.render(
    <Provider store={store}>
      <App />
    </Provider>,
    rootElement
  );
  