Add system editing

This commit is contained in:
Spectralitree
2020-12-11 16:35:25 +01:00
parent d30136fba2
commit e421222002
11 changed files with 251 additions and 49 deletions

View File

@@ -61,11 +61,11 @@ export default function App() {
return (
<Router history={history} basename="/pk-webs">
<Navigation isSubmit={isSubmit} setIsSubmit={setIsSubmit} />
<Navigation/>
<BS.Container>
<Switch>
<Route path="/pk-webs/dash" >
{ !localStorage.getItem('token') || isInvalid ? <Redirect to="/pk-webs"/> : <Dash/>
{ !localStorage.getItem('token') || isInvalid ? <Redirect to="/pk-webs"/> : <Dash />
}
</Route>
<Route exact path="/pk-webs">