diff options
author | Jamie Guthrie <jamie.guthrie@gmail.com> | 2023-08-16 22:32:58 +0200 |
---|---|---|
committer | Jamie Guthrie <jamie.guthrie@gmail.com> | 2023-08-16 22:32:58 +0200 |
commit | c4d214632676a05d3e1cb33efb3bb6d99c7e0488 (patch) | |
tree | 0d04abd5cb84f331e8a077b7c52679e59f3bd263 /modern/src/other | |
parent | 62ae7d516525bba2c2d053832ece7d613be86dc9 (diff) | |
download | trackermap-web-c4d214632676a05d3e1cb33efb3bb6d99c7e0488.tar.gz trackermap-web-c4d214632676a05d3e1cb33efb3bb6d99c7e0488.tar.bz2 trackermap-web-c4d214632676a05d3e1cb33efb3bb6d99c7e0488.zip |
Use more basic tooltip wording
Diffstat (limited to 'modern/src/other')
-rw-r--r-- | modern/src/other/GeofencesList.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/other/GeofencesList.js b/modern/src/other/GeofencesList.js index a7858ce5..d26eff09 100644 --- a/modern/src/other/GeofencesList.js +++ b/modern/src/other/GeofencesList.js @@ -8,7 +8,6 @@ import { import { geofencesActions } from '../store'; import CollectionActions from '../settings/components/CollectionActions'; import { useCatchCallback } from '../reactHelper'; -import { useTranslation } from '../common/components/LocalizationProvider'; const useStyles = makeStyles(() => ({ list: { @@ -25,7 +24,6 @@ const useStyles = makeStyles(() => ({ const GeofencesList = ({ onGeofenceSelected }) => { const classes = useStyles(); const dispatch = useDispatch(); - const t = useTranslation(); const items = useSelector((state) => state.geofences.items); @@ -44,7 +42,7 @@ const GeofencesList = ({ onGeofenceSelected }) => { <Fragment key={item.id}> <ListItemButton key={item.id} onClick={() => onGeofenceSelected(item.id)}> <ListItemText primary={item.name} /> - <CollectionActions itemId={item.id} editPath="/settings/geofence" endpoint="geofences" collectionTitle={t('sharedGeofence')} setTimestamp={refreshGeofences} /> + <CollectionActions itemId={item.id} editPath="/settings/geofence" endpoint="geofences" setTimestamp={refreshGeofences} /> </ListItemButton> {index < list.length - 1 ? <Divider /> : null} </Fragment> |