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,34 +43,28 @@
<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>
<Route path = "/"> <Route path = "s">
hey please provide a system hey please provide a system
</Route> </Route>
</Route> <Route path = "m/:id">
<Route path="/m/*">
<Route path = "/:id">
member member
</Route> </Route>
<Route path = "/"> <Route path = "m">
hey please provide a member hey please provide a member
</Route> </Route>
<Route path = "g/:id">
group!
</Route> </Route>
<Route path="/g/*"> <Route path = "g">
<Route path = "/:id">
group
</Route>
<Route path = "/">
hey please provide a group hey please provide a group
</Route> </Route>
</Route> </Route>
</Route>
<Footer /> <Footer />
</Router> </Router>