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/UserPage.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/UserPage.js')
-rw-r--r-- | modern/src/UserPage.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/UserPage.js b/modern/src/UserPage.js index 0e6af09f..977d3302 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 userAttributes from './attributes/userAttributes'; import EditItemView from './EditItemView'; import EditAttributesView from './attributes/EditAttributesView'; import LinkField from './form/LinkField'; import { useTranslation } from './LocalizationProvider'; +import { useUserAttributes } from './attributes/userAttributes'; const useStyles = makeStyles(() => ({ details: { @@ -21,6 +21,8 @@ const UserPage = () => { const classes = useStyles(); const t = useTranslation(); + const userAttributes = useUserAttributes(t); + const [item, setItem] = useState(); return ( |