aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-27 11:08:26 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-27 11:08:26 -0700
commit26916278758cd5e4abb16aa31e31099e066ea8d5 (patch)
tree5119a65f67cd426ed06b9cb553b7d24ba6dce093 /modern/src/App.js
parentd86a3ef187359fbe83a5dd950295868c4ef39d09 (diff)
downloadetbsa-traccar-web-26916278758cd5e4abb16aa31e31099e066ea8d5.tar.gz
etbsa-traccar-web-26916278758cd5e4abb16aa31e31099e066ea8d5.tar.bz2
etbsa-traccar-web-26916278758cd5e4abb16aa31e31099e066ea8d5.zip
Add geofences screen
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 3641339..b76995e 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -36,6 +36,8 @@ import RegisterForm from './components/registration/RegisterForm';
import ResetPasswordForm from './components/registration/ResetPasswordForm';
import theme from './theme';
+import GeofencesPage from './GeofencesPage';
+import GeofencePage from './GeofencePage';
const App = () => {
const initialized = useSelector(state => !!state.session.server && !!state.session.user);
@@ -57,6 +59,8 @@ const App = () => {
<Route exact path='/position/:id?' component={PositionPage} />
<Route exact path='/user/:id?' component={UserPage} />
<Route exact path='/device/:id?' component={DevicePage} />
+ <Route exact path='/geofence/:id?' component={GeofencePage} />
+ <Route exact path='/geofences' component={GeofencesPage} />
<Route exact path='/settings/notifications' component={NotificationsPage} />
<Route exact path='/settings/notification/:id?' component={NotificationPage} />
<Route exact path='/settings/groups' component={GroupsPage} />