score:0

import "bootstrap/dist/css/bootstrap.min.css";
import './App.css';
import {Switch, Route} from "react-router-dom";
import routesConstants from "./config/routesConstants";
import ContainerBlock from "./components/login-and-register/container/ContainerBlock";
import DashboardContainer from "./components/dashboard/container/DashboardContainer";

function App() {
    return (
        <Switch>
            <Route path={routesConstants.root} exact component={ContainerBlock}/>
            <Route path="/dashboard" component={DashboardContainer} />
        </Switch>
    );
}

export default App;

Related Query

More Query from same tag