diff options
author | Anton Tananaev <anton@traccar.org> | 2024-02-24 13:47:19 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-02-24 13:47:19 -0800 |
commit | 89a40e48259ce39959101b4f1f7dc5e26c630b74 (patch) | |
tree | 2bbffc14a1846cc7ba7b283f6accd0c1577fe902 /modern/src/settings/GeofencePage.jsx | |
parent | 460cd9ae0e98e9c2d3fb2e566d10d9ac99aa18f5 (diff) | |
download | trackermap-web-89a40e48259ce39959101b4f1f7dc5e26c630b74.tar.gz trackermap-web-89a40e48259ce39959101b4f1f7dc5e26c630b74.tar.bz2 trackermap-web-89a40e48259ce39959101b4f1f7dc5e26c630b74.zip |
Unify settings styles
Diffstat (limited to 'modern/src/settings/GeofencePage.jsx')
-rw-r--r-- | modern/src/settings/GeofencePage.jsx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/modern/src/settings/GeofencePage.jsx b/modern/src/settings/GeofencePage.jsx index b6c516a1..93b23c7e 100644 --- a/modern/src/settings/GeofencePage.jsx +++ b/modern/src/settings/GeofencePage.jsx @@ -3,7 +3,6 @@ import { useDispatch } from 'react-redux'; import { Accordion, AccordionSummary, AccordionDetails, Typography, TextField, } from '@mui/material'; -import makeStyles from '@mui/styles/makeStyles'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import EditItemView from './components/EditItemView'; import EditAttributesAccordion from './components/EditAttributesAccordion'; @@ -12,18 +11,10 @@ import useGeofenceAttributes from '../common/attributes/useGeofenceAttributes'; import SettingsMenu from './components/SettingsMenu'; import SelectField from '../common/components/SelectField'; import { geofencesActions } from '../store'; - -const useStyles = makeStyles((theme) => ({ - details: { - display: 'flex', - flexDirection: 'column', - gap: theme.spacing(2), - paddingBottom: theme.spacing(3), - }, -})); +import useSettingsStyles from './common/useSettingsStyles'; const GeofencePage = () => { - const classes = useStyles(); + const classes = useSettingsStyles(); const dispatch = useDispatch(); const t = useTranslation(); |