aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/ComputedAttributePage.js
diff options
context:
space:
mode:
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 a3b45b4a..7aff0da0 100644
--- a/modern/src/settings/ComputedAttributePage.js
+++ b/modern/src/settings/ComputedAttributePage.js
@@ -3,9 +3,9 @@ import {
Accordion, AccordionSummary, AccordionDetails, makeStyles, Typography, FormControl, InputLabel, MenuItem, Select, TextField,
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
-import t from '../LocalizationProvider';
import EditItemView from '../EditItemView';
import positionAttributes from '../attributes/positionAttributes';
+import { useTranslation } from '../LocalizationProvider';
const useStyles = makeStyles(() => ({
details: {
@@ -15,6 +15,8 @@ const useStyles = makeStyles(() => ({
const ComputedAttributePage = () => {
const classes = useStyles();
+ const t = useTranslation();
+
const [item, setItem] = useState();
const [key, setKey] = useState();