aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-12-16 15:13:08 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-12-16 15:13:08 +0530
commit2ea3cf62d8649588094b820652de017d5baae888 (patch)
treeede75b5d1cb8c6a5ee43176deb16cc4d77d60d86 /modern/src/App.js
parentfca5aa3cdb5d335dca14115722cacae1b724fe4f (diff)
downloadtrackermap-web-2ea3cf62d8649588094b820652de017d5baae888.tar.gz
trackermap-web-2ea3cf62d8649588094b820652de017d5baae888.tar.bz2
trackermap-web-2ea3cf62d8649588094b820652de017d5baae888.zip
Driver Implementations
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 83fd9315..94f1ed72 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -22,6 +22,8 @@ import TripReportPage from './reports/TripReportPage';
import StopReportPage from './reports/StopReportPage';
import SummaryReportPage from './reports/SummaryReportPage';
import ChartReportPage from './reports/ChartReportPage';
+import DriversPage from './settings/DriversPage';
+import DriverPage from './settings/DriverPage';
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -52,6 +54,8 @@ const App = () => {
<Route exact path='/reports/stop' component={StopReportPage} />
<Route exact path='/reports/summary' component={SummaryReportPage} />
<Route exact path='/reports/chart' component={ChartReportPage} />
+ <Route exact path='/settings/drivers' component={DriversPage} />
+ <Route exact path='/settings/driver/:id?' component={DriverPage} />
</Switch>
)}
</Route>