aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/OptionsLayout.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-17 13:37:48 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-17 13:37:48 -0700
commit914f3dae0e34304eebbfaae2b7740e53206ce527 (patch)
tree80c1bb780ab67d5483a0eb273608b34a748526b7 /modern/src/settings/OptionsLayout.js
parent6505a13e0037d5de5737e940907cc62c4a9107bc (diff)
downloadtrackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.tar.gz
trackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.tar.bz2
trackermap-web-914f3dae0e34304eebbfaae2b7740e53206ce527.zip
Fix style issues
Diffstat (limited to 'modern/src/settings/OptionsLayout.js')
-rw-r--r--modern/src/settings/OptionsLayout.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/modern/src/settings/OptionsLayout.js b/modern/src/settings/OptionsLayout.js
index eef9cabb..e588cafb 100644
--- a/modern/src/settings/OptionsLayout.js
+++ b/modern/src/settings/OptionsLayout.js
@@ -9,13 +9,9 @@ import {
Hidden,
} from '@material-ui/core';
-import ArrowBackIcon from '@material-ui/icons/ArrowBack';
-
-import SideNav from '../components/SideNav';
-import NavBar from '../components/NavBar';
-import { useTranslation } from '../LocalizationProvider';
import { useSelector } from 'react-redux';
import CreateIcon from '@material-ui/icons/Create';
+import ArrowBackIcon from '@material-ui/icons/ArrowBack';
import NotificationsIcon from '@material-ui/icons/Notifications';
import FolderIcon from '@material-ui/icons/Folder';
import PersonIcon from '@material-ui/icons/Person';
@@ -25,6 +21,10 @@ import PeopleIcon from '@material-ui/icons/People';
import BarChartIcon from '@material-ui/icons/BarChart';
import TodayIcon from '@material-ui/icons/Today';
+import SideNav from '../components/SideNav';
+import NavBar from '../components/NavBar';
+import { useTranslation } from '../LocalizationProvider';
+
const useStyles = makeStyles((theme) => ({
root: {
display: 'flex',
@@ -77,7 +77,7 @@ const OptionsLayout = ({ children }) => {
{ name: t('settingsUsers'), href: '/admin/users', icon: <PeopleIcon /> },
{ name: t('statisticsTitle'), href: '/admin/statistics', icon: <BarChartIcon /> },
], [t]);
-
+
const mainRoutes = useMemo(() => [
{ name: t('settingsUser'), href: `/user/${userId}`, icon: <PersonIcon /> },
{ name: t('sharedGeofences'), href: '/geofences', icon: <CreateIcon /> },