aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index cc15ca59..7921a2c8 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -13,7 +13,7 @@ const App = () => {
<Switch>
<Route exact path='/' component={MainPage} />
<Route exact path='/login' component={LoginPage} />
- <Route exact path='/device' component={DevicePage} />
+ <Route exact path='/device/:id?' component={DevicePage} />
<Route exact path='/reports/route' component={RouteReportPage} />
</Switch>
</>