fix: fix rendering crash when navigating back from a system page

This commit is contained in:
Spectralitree 2021-12-12 14:32:58 +01:00
parent 6df28966be
commit c9879dbbbb

View File

@ -43,33 +43,27 @@
<Router> <Router>
<Navigation bind:style={style}/> <Navigation bind:style={style}/>
<Route path="/"><Home /></Route> <Route path="/"><Home /></Route>
<Route path="/dash"><Dash /></Route> <Route path="dash"><Dash /></Route>
<Route path="/settings"><Settings /></Route> <Route path="settings"><Settings /></Route>
<Route path="/public/*"> <Route path="public/*">
<Route path="/"><Public /></Route> <Route path="/"><Public /></Route>
<Route path="/s/*"> <Route path = "s/:id">
<Route path = "/:id"> <System />
<System />
</Route>
<Route path = "/">
hey please provide a system
</Route>
</Route> </Route>
<Route path="/m/*"> <Route path = "s">
<Route path = "/:id"> hey please provide a system
member
</Route>
<Route path = "/">
hey please provide a member
</Route>
</Route> </Route>
<Route path="/g/*"> <Route path = "m/:id">
<Route path = "/:id"> member
group </Route>
</Route> <Route path = "m">
<Route path = "/"> hey please provide a member
hey please provide a group </Route>
</Route> <Route path = "g/:id">
group!
</Route>
<Route path = "g">
hey please provide a group
</Route> </Route>
</Route> </Route>
<Footer /> <Footer />