aboutsummaryrefslogtreecommitdiff
path: root/modern/src/GeofencePage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/GeofencePage.js')
-rw-r--r--modern/src/GeofencePage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/GeofencePage.js b/modern/src/GeofencePage.js
index 485795de..db752467 100644
--- a/modern/src/GeofencePage.js
+++ b/modern/src/GeofencePage.js
@@ -7,8 +7,8 @@ import {
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './EditItemView';
import EditAttributesView from './attributes/EditAttributesView';
-import geofenceAttributes from './attributes/geofenceAttributes';
import { useTranslation } from './LocalizationProvider';
+import { useGeofenceAttributes } from './attributes/geofenceAttributes';
const useStyles = makeStyles(() => ({
details: {
@@ -20,6 +20,8 @@ const GeofencePage = () => {
const classes = useStyles();
const t = useTranslation();
+ const geofenceAttributes = useGeofenceAttributes(t);
+
const [item, setItem] = useState();
return (