text: 
  import React from "react";
  
  import { Provider } from "react-redux";
  import { BrowserRouter, Route, Switch, Redirect } from "react-router-dom";
  
  
  import "assets/vendor/nucleo/css/nucleo.css";
  import "assets/vendor/@fortawesome/fontawesome-free/css/all.min.css";
  import "assets/scss/argon-dashboard-react.scss";
  
  
  
  import configureStore from "./configureStore";
  import AdminLayout from "layouts/Admin.jsx";
  import AuthLayout from "layouts/Auth.jsx";
  
  
  const store = configureStore();
  
  
  function Root() {
    return (
      <Provider store={store}>
        <BrowserRouter>
        <Switch>
          <Route path="/admin" render={props => <AdminLayout {...props} />} />
          <Route path="/auth" render={props => <AuthLayout {...props} />} />
          <Redirect from="/" to="/auth/login" />
        </Switch>
      </BrowserRouter>,
      </Provider>
    );
  }
  
  export default Root;
  