fix: navigating away from a profile page crashed the rendering

This commit is contained in:
Spectralitree 2021-12-15 13:51:50 +01:00
parent 9f9cc6b6b2
commit b4411dd689

View File

@ -45,26 +45,22 @@
<Route path="/"><Home /></Route>
<Route path="dash"><Dash /></Route>
<Route path="settings"><Settings /></Route>
<Route path="profile/*">
<Route path="/"><Public /></Route>
<Route path = "s/:id">
<System />
</Route>
<Route path="profile"><Public /></Route>
<Route path = "profile/s/:id"><Main /></Route>
<Route path = "s">
hey please provide a system
</Route>
<Route path = "m/:id">
<Route path = "profile/m/:id">
member
</Route>
<Route path = "m">
<Route path = "profile/m">
hey please provide a member
</Route>
<Route path = "g/:id">
<Route path = "profile/g/:id">
group!
</Route>
<Route path = "g">
<Route path = "profile/g">
hey please provide a group
</Route>
</Route>
<Footer />
</Router>