diff options
author | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 22:14:39 +0000 |
---|---|---|
committer | Desmond Kyeremeh <elDekyfin@gmail.com> | 2021-07-11 22:14:39 +0000 |
commit | 1b93de84e2bf6a6532bdb03e1ae75e47061a4dca (patch) | |
tree | 8989ce8c6c5bb1d2a748ffe91895fe929c99dd5e /modern/src/settings/OptionsLayout | |
parent | efe18c504a834760242937572b369530c552e589 (diff) | |
download | trackermap-web-1b93de84e2bf6a6532bdb03e1ae75e47061a4dca.tar.gz trackermap-web-1b93de84e2bf6a6532bdb03e1ae75e47061a4dca.tar.bz2 trackermap-web-1b93de84e2bf6a6532bdb03e1ae75e47061a4dca.zip |
Fixed linting
Diffstat (limited to 'modern/src/settings/OptionsLayout')
-rw-r--r-- | modern/src/settings/OptionsLayout/useRoutes.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/modern/src/settings/OptionsLayout/useRoutes.js b/modern/src/settings/OptionsLayout/useRoutes.js index 901719f8..f2603dd8 100644 --- a/modern/src/settings/OptionsLayout/useRoutes.js +++ b/modern/src/settings/OptionsLayout/useRoutes.js @@ -13,7 +13,7 @@ import t from '../../common/localization'; const accountRoute = { name: t('settingsUser'), - icon: <PersonIcon /> + icon: <PersonIcon />, }; const adminRoutes = [ @@ -21,18 +21,18 @@ const adminRoutes = [ { name: t('settingsServer'), href: '/admin/server', - icon: <StorageIcon /> + icon: <StorageIcon />, }, { name: t('settingsUsers'), href: '/admin/users', - icon: <PeopleIcon /> + icon: <PeopleIcon />, }, { name: t('statisticsTitle'), href: '/admin/statistics', - icon: <BarChartIcon /> - } + icon: <BarChartIcon />, + }, ]; const mainRoutes = [ @@ -41,38 +41,38 @@ const mainRoutes = [ match: 'geofence', name: t('sharedGeofences'), href: '/geofences', - icon: <CreateIcon /> + icon: <CreateIcon />, }, { match: 'notification', name: t('sharedNotifications'), href: '/settings/notifications', - icon: <NotificationsIcon /> + icon: <NotificationsIcon />, }, { match: 'group', name: t('settingsGroups'), href: '/settings/groups', - icon: <FolderIcon /> + icon: <FolderIcon />, }, { match: 'driver', name: t('sharedDrivers'), href: '/settings/drivers', - icon: <PersonIcon /> + icon: <PersonIcon />, }, { match: 'attribute', name: t('sharedComputedAttributes'), href: '/settings/attributes', - icon: <StorageIcon /> + icon: <StorageIcon />, }, { match: 'maintenance', name: t('sharedMaintenance'), href: '/settings/maintenances', - icon: <BuildIcon /> - } + icon: <BuildIcon />, + }, ]; export default () => { @@ -81,6 +81,6 @@ export default () => { accountRoute.href = `/user/${userId}`; return useMemo(() => [...mainRoutes, ...(isAdmin ? adminRoutes : [])], [ - isAdmin + isAdmin, ]); }; |