aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorditoaugusta <dt_ap@ymail.com>2020-03-27 18:30:47 +0700
committerditoaugusta <dt_ap@ymail.com>2020-03-27 18:30:47 +0700
commit114604e02eea84d3de78fb340f1c91c72b46e904 (patch)
tree8ef061009cd1823ccadd06d28113c254dde0ec5a /modern/src/App.js
parent8bef4f04c2b0b203450fe5753b6109a0b0d04e82 (diff)
parent79c36b9a84623fb99db0ab71cc9a31391f06489e (diff)
downloadtrackermap-web-114604e02eea84d3de78fb340f1c91c72b46e904.tar.gz
trackermap-web-114604e02eea84d3de78fb340f1c91c72b46e904.tar.bz2
trackermap-web-114604e02eea84d3de78fb340f1c91c72b46e904.zip
Merge branch 'master' of https://github.com/traccar/traccar-web into experimental/hooks
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index 31b8b69b..a7752823 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -3,6 +3,8 @@ import { Switch, Route } from 'react-router-dom'
import CssBaseline from '@material-ui/core/CssBaseline';
import MainPage from './MainPage';
import LoginPage from './LoginPage';
+import RouteReportPage from './RouteReportPage';
+import DevicePage from './DevicePage';
class App extends Component {
render() {
@@ -12,6 +14,8 @@ class App extends Component {
<Switch>
<Route exact path='/' component={MainPage} />
<Route exact path='/login' component={LoginPage} />
+ <Route exact path='/device' component={DevicePage} />
+ <Route exact path='/reports/route' component={RouteReportPage} />
</Switch>
</Fragment>
);