Create System is working... ask me how I know!

This commit is contained in:
Luke Berndt
2023-03-20 22:10:33 -04:00
parent e7497a7d7a
commit 109d8c11ed
5 changed files with 402 additions and 401 deletions

View File

@@ -8,7 +8,7 @@ import About from "../Components/About"
import System from "../System/System"
import ListSystems from "../System/ListSystems"
import UpdateSystemContainer from "../System/UpdateSystemContainer"
import CreateSystemContainer from "../System/CreateSystemContainer"
import CreateSystem from "../System/CreateSystem"
const App = (params) => {
@@ -20,7 +20,7 @@ const App = (params) => {
<Route path="/about" element={ <Restricted><About/></Restricted>} />
<Route path="/system/:shortName" element={ <Restricted><System/></Restricted>} />
<Route path="/update-system/:shortName" component={Restricted(UpdateSystemContainer, store)} />
<Route path="/create-system" component={Restricted(CreateSystemContainer, store)} />
<Route path="/create-system" element={ <Restricted><CreateSystem/></Restricted>} />
<Route path="/list-systems" element={ <Restricted><ListSystems/></Restricted>} />
<Route path="/" element={ <Restricted><ListSystems/></Restricted>} />
<Route render={() => (<div>Miss</div>)} />