diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-22 09:10:05 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-22 09:10:05 -0700 |
commit | adca1297c6eebefdcdb6a5be25adc2f2b9d15559 (patch) | |
tree | 85408a68b4e236bab1d961641200c977ef64a514 /modern/src/settings/components/SettingsMenu.js | |
parent | 50a97b2ec3a3a22955cae8bfd6a766b3abb2cf27 (diff) | |
download | trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.tar.gz trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.tar.bz2 trackermap-web-adca1297c6eebefdcdb6a5be25adc2f2b9d15559.zip |
List items and disabled device
Diffstat (limited to 'modern/src/settings/components/SettingsMenu.js')
-rw-r--r-- | modern/src/settings/components/SettingsMenu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/settings/components/SettingsMenu.js b/modern/src/settings/components/SettingsMenu.js index ef5b07d7..a37d5d1a 100644 --- a/modern/src/settings/components/SettingsMenu.js +++ b/modern/src/settings/components/SettingsMenu.js @@ -1,6 +1,6 @@ import React from 'react'; import { - Divider, List, ListItem, ListItemIcon, ListItemText, + Divider, List, ListItemButton, ListItemIcon, ListItemText, } from '@mui/material'; import SettingsIcon from '@mui/icons-material/Settings'; import CreateIcon from '@mui/icons-material/Create'; @@ -21,10 +21,10 @@ import useFeatures from '../../common/util/useFeatures'; const MenuItem = ({ title, link, icon, selected, }) => ( - <ListItem button key={link} component={Link} to={link} selected={selected}> + <ListItemButton key={link} component={Link} to={link} selected={selected}> <ListItemIcon>{icon}</ListItemIcon> <ListItemText primary={title} /> - </ListItem> + </ListItemButton> ); const SettingsMenu = () => { |