diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 21:28:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-20 21:28:52 -0700 |
commit | 787c9dc0ec684d3524ec060b6422ffbaea5012ac (patch) | |
tree | d8e125759f8e54de2921127365f90016013c3c2c /modern/src/App.js | |
parent | 9801338e03965ec28af9369b850f339ba534003f (diff) | |
download | trackermap-web-787c9dc0ec684d3524ec060b6422ffbaea5012ac.tar.gz trackermap-web-787c9dc0ec684d3524ec060b6422ffbaea5012ac.tar.bz2 trackermap-web-787c9dc0ec684d3524ec060b6422ffbaea5012ac.zip |
Add user edit page
Diffstat (limited to 'modern/src/App.js')
-rw-r--r-- | modern/src/App.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js index 0f2a69b7..a4c00e28 100644 --- a/modern/src/App.js +++ b/modern/src/App.js @@ -6,6 +6,7 @@ import LoginPage from './LoginPage'; import RouteReportPage from './reports/RouteReportPage'; import UsersPage from './admin/UsersPage'; import DevicePage from './DevicePage'; +import UserPage from './UserPage'; import SocketController from './SocketController'; const App = () => { @@ -16,6 +17,7 @@ const App = () => { <Switch> <Route exact path='/' component={MainPage} /> <Route exact path='/login' component={LoginPage} /> + <Route exact path='/user/:id?' component={UserPage} /> <Route exact path='/device/:id?' component={DevicePage} /> <Route exact path='/reports/route' component={RouteReportPage} /> <Route exact path='/admin/users' component={UsersPage} /> |