text: import React from "react";
  import PropTypes from "prop-types";
  import { Provider } from "react-redux";
  import { ConnectedRouter } from "connected-react-router";
  
  import Main from "_environment/Main";
  
  export default function Root({ history, store }) {
    return (
      <div>
        <Provider store={store}>
          <ConnectedRouter history={history}>
            <Main />
          </ConnectedRouter>
        </Provider>
      </div>
    );
  }
  
  Root.propTypes = {
    store: PropTypes.object.isRequired,
    history: PropTypes.object.isRequired,
  };
  