diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-03 00:21:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-03 00:21:33 -0700 |
commit | 105e4ec887e249ec47db83095504012bad22df80 (patch) | |
tree | 0ca61c0015b1941362de8d2a82a005a88659dca4 /modern/src/settings/ComputedAttributePage.js | |
parent | e6f906dbb565abdb29297ec67db3c922135c628c (diff) | |
download | trackermap-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.js | 4 |
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(); |