refactor(web): camera view + bugfixes

This commit is contained in:
Paul Armstrong
2021-02-04 15:19:47 -08:00
committed by Blake Blackshear
parent b422a83b57
commit 96f87caff0
15 changed files with 156 additions and 63 deletions

View File

@@ -13,7 +13,7 @@ export default function Sidebar() {
return (
<NavigationDrawer header={<Header />}>
<Destination href="/" text="Cameras" />
<Match path="/cameras/:camera">
<Match path="/cameras/:camera/:other?">
{({ matches }) =>
matches ? (
<Fragment>