aboutsummaryrefslogtreecommitdiff
path: root/modern/src/GeofencePage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-03 00:21:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-03 00:21:33 -0700
commit105e4ec887e249ec47db83095504012bad22df80 (patch)
tree0ca61c0015b1941362de8d2a82a005a88659dca4 /modern/src/GeofencePage.js
parente6f906dbb565abdb29297ec67db3c922135c628c (diff)
downloadetbsa-traccar-web-105e4ec887e249ec47db83095504012bad22df80.tar.gz
etbsa-traccar-web-105e4ec887e249ec47db83095504012bad22df80.tar.bz2
etbsa-traccar-web-105e4ec887e249ec47db83095504012bad22df80.zip
More translation migrations
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 485795d..db75246 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 (