NetworkContainer

master
Tudor Stanciu 2020-12-19 15:51:32 +02:00
parent 22ddc002dd
commit 5f7467e50c
3 changed files with 10 additions and 3 deletions

View File

@ -2,13 +2,13 @@ import React from "react";
import { Route, Switch } from "react-router-dom"; import { Route, Switch } from "react-router-dom";
import PageNotFound from "./PageNotFound"; import PageNotFound from "./PageNotFound";
import LoginContainer from "../../features/login/components/LoginContainer"; import LoginContainer from "../../features/login/components/LoginContainer";
import AboutContainer from "../../features/about/components/AboutContainer"; import NetworkContainer from "../../features/network/components/NetworkContainer";
const Switcher = () => { const Switcher = () => {
return ( return (
<Switch> <Switch>
<Route exact path="/" component={LoginContainer} /> <Route exact path="/" component={LoginContainer} />
<Route exact path="/about" component={AboutContainer} /> <Route exact path="/network" component={NetworkContainer} />
<Route component={PageNotFound} /> <Route component={PageNotFound} />
</Switch> </Switch>

View File

@ -11,7 +11,7 @@ const steps = [
{ {
id: 1, id: 1,
title: "Network", title: "Network",
route: "/about", route: "/network",
disabled: false, disabled: false,
icon: <Router /> icon: <Router />
}, },

View File

@ -0,0 +1,7 @@
import React from "react";
const NetworkContainer = () => {
return <div>NetworkContainer</div>;
};
export default NetworkContainer;