NetworkContainer
parent
22ddc002dd
commit
5f7467e50c
|
@ -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>
|
||||||
|
|
|
@ -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 />
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
const NetworkContainer = () => {
|
||||||
|
return <div>NetworkContainer</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default NetworkContainer;
|
Loading…
Reference in New Issue