aboutsummaryrefslogtreecommitdiff
path: root/modern/src/App.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-01 17:03:36 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-01 17:03:36 -0700
commit05a7a75d6db6185bbea02df51a8506a9b1611bb3 (patch)
treec3629e5c3184f47832105169cdda64f0f56828b7 /modern/src/App.js
parent6ff61de15ffff504699e4b5a5426d5ac5a27edc8 (diff)
downloadtrackermap-web-05a7a75d6db6185bbea02df51a8506a9b1611bb3.tar.gz
trackermap-web-05a7a75d6db6185bbea02df51a8506a9b1611bb3.tar.bz2
trackermap-web-05a7a75d6db6185bbea02df51a8506a9b1611bb3.zip
Add preferences page
Diffstat (limited to 'modern/src/App.js')
-rw-r--r--modern/src/App.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/App.js b/modern/src/App.js
index e12a2e78..57e44621 100644
--- a/modern/src/App.js
+++ b/modern/src/App.js
@@ -47,6 +47,7 @@ import useQuery from './common/useQuery';
import { useEffectAsync } from './reactHelper';
import { devicesActions } from './store';
import EventPage from './EventPage';
+import PreferencesPage from './settings/PreferencesPage';
const App = () => {
const history = useHistory();
@@ -101,6 +102,7 @@ const App = () => {
<Route exact path="/device/:id?" component={DevicePage} />
<Route exact path="/geofence/:id?" component={GeofencePage} />
<Route exact path="/geofences" component={GeofencesPage} />
+ <Route exact path="/settings/preferences" component={PreferencesPage} />
<Route exact path="/settings/notifications" component={NotificationsPage} />
<Route exact path="/settings/notification/:id?" component={NotificationPage} />
<Route exact path="/settings/groups" component={GroupsPage} />