aboutsummaryrefslogtreecommitdiff
path: root/modern/src/UserPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/UserPage.js')
-rw-r--r--modern/src/UserPage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js
index d09cd631..0e6af09f 100644
--- a/modern/src/UserPage.js
+++ b/modern/src/UserPage.js
@@ -5,11 +5,11 @@ import {
Accordion, AccordionSummary, AccordionDetails, makeStyles, Typography,
} from '@material-ui/core';
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
-import t from './LocalizationProvider';
import userAttributes from './attributes/userAttributes';
import EditItemView from './EditItemView';
import EditAttributesView from './attributes/EditAttributesView';
import LinkField from './form/LinkField';
+import { useTranslation } from './LocalizationProvider';
const useStyles = makeStyles(() => ({
details: {
@@ -19,6 +19,7 @@ const useStyles = makeStyles(() => ({
const UserPage = () => {
const classes = useStyles();
+ const t = useTranslation();
const [item, setItem] = useState();