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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/GeofencePage.js b/modern/src/GeofencePage.js
index 2b503a71..485795de 100644
--- a/modern/src/GeofencePage.js
+++ b/modern/src/GeofencePage.js
@@ -5,10 +5,10 @@ import {
Accordion, AccordionSummary, AccordionDetails, makeStyles, Typography,
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
-import t from './LocalizationProvider';
import EditItemView from './EditItemView';
import EditAttributesView from './attributes/EditAttributesView';
import geofenceAttributes from './attributes/geofenceAttributes';
+import { useTranslation } from './LocalizationProvider';
const useStyles = makeStyles(() => ({
details: {
@@ -18,6 +18,7 @@ const useStyles = makeStyles(() => ({
const GeofencePage = () => {
const classes = useStyles();
+ const t = useTranslation();
const [item, setItem] = useState();