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>
<Navigation bind:style={style}/>
<Route path="/"><Home /></Route>
<Route path="/dash"><Dash /></Route>
<Route path="/settings"><Settings /></Route>
<Route path="/public/*">
<Route path="dash"><Dash /></Route>
<Route path="settings"><Settings /></Route>
<Route path="public/*">
<Route path="/"><Public /></Route>
<Route path="/s/*">
<Route path = "/:id">
<System />
</Route>
<Route path = "/">
hey please provide a system
</Route>
<Route path = "s/:id">
<System />
</Route>
<Route path="/m/*">
<Route path = "/:id">
member
</Route>
<Route path = "/">
hey please provide a member
</Route>
<Route path = "s">
hey please provide a system
</Route>
<Route path="/g/*">
<Route path = "/:id">
group
</Route>
<Route path = "/">
hey please provide a group
</Route>
<Route path = "m/:id">
member
</Route>
<Route path = "m">
hey please provide a member
</Route>
<Route path = "g/:id">
group!
</Route>
<Route path = "g">
hey please provide a group
</Route>
</Route>
<Footer />