diff options
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} /> |