aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributePage.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/settings/ComputedAttributePage.js
parente6f906dbb565abdb29297ec67db3c922135c628c (diff)
downloadtrackermap-web-105e4ec887e249ec47db83095504012bad22df80.tar.gz
trackermap-web-105e4ec887e249ec47db83095504012bad22df80.tar.bz2
trackermap-web-105e4ec887e249ec47db83095504012bad22df80.zip
More translation migrations
Diffstat (limited to 'modern/src/settings/ComputedAttributePage.js')
-rw-r--r--modern/src/settings/ComputedAttributePage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/settings/ComputedAttributePage.js b/modern/src/settings/ComputedAttributePage.js
index 7aff0da0..6733e980 100644
--- a/modern/src/settings/ComputedAttributePage.js
+++ b/modern/src/settings/ComputedAttributePage.js
@@ -4,8 +4,8 @@ import {
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from '../EditItemView';
-import positionAttributes from '../attributes/positionAttributes';
import { useTranslation } from '../LocalizationProvider';
+import { usePositionAttributes } from '../attributes/positionAttributes';
const useStyles = makeStyles(() => ({
details: {
@@ -17,6 +17,8 @@ const ComputedAttributePage = () => {
const classes = useStyles();
const t = useTranslation();
+ const positionAttributes = usePositionAttributes(t);
+
const [item, setItem] = useState();
const [key, setKey] = useState();