aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-21 18:54:00 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-21 18:54:00 -0700
commitb297d57f9d9b0df410163fbde99c225af55bd315 (patch)
tree5d2330a685148a24a9c1bea81b7e8f0cf3722c5b /modern/src/App.js
parentd3a027a92958371acaf35d300770a4c864df7231 (diff)
downloadtrackermap-web-b297d57f9d9b0df410163fbde99c225af55bd315.tar.gz
trackermap-web-b297d57f9d9b0df410163fbde99c225af55bd315.tar.bz2
trackermap-web-b297d57f9d9b0df410163fbde99c225af55bd315.zip
Implement device editing
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>
</>