From e6f906dbb565abdb29297ec67db3c922135c628c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 2 Sep 2021 23:20:12 -0700 Subject: Migrate components --- modern/src/settings/GroupPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modern/src/settings/GroupPage.js') diff --git a/modern/src/settings/GroupPage.js b/modern/src/settings/GroupPage.js index ad578e25..faf8acbe 100644 --- a/modern/src/settings/GroupPage.js +++ b/modern/src/settings/GroupPage.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 EditItemView from '../EditItemView'; import EditAttributesView from '../attributes/EditAttributesView'; import deviceAttributes from '../attributes/deviceAttributes'; import SelectField from '../form/SelectField'; +import { useTranslation } from '../LocalizationProvider'; const useStyles = makeStyles(() => ({ details: { @@ -19,6 +19,7 @@ const useStyles = makeStyles(() => ({ const GroupPage = () => { const classes = useStyles(); + const t = useTranslation(); const [item, setItem] = useState(); -- cgit v1.2.3