From 105e4ec887e249ec47db83095504012bad22df80 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 3 Sep 2021 00:21:33 -0700 Subject: More translation migrations --- modern/src/settings/GroupPage.js | 4 +++- 1 file changed, 3 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 faf8acbe..88b9504d 100644 --- a/modern/src/settings/GroupPage.js +++ b/modern/src/settings/GroupPage.js @@ -7,7 +7,7 @@ import { import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import EditItemView from '../EditItemView'; import EditAttributesView from '../attributes/EditAttributesView'; -import deviceAttributes from '../attributes/deviceAttributes'; +import { useDeviceAttributes } from '../attributes/deviceAttributes'; import SelectField from '../form/SelectField'; import { useTranslation } from '../LocalizationProvider'; @@ -21,6 +21,8 @@ const GroupPage = () => { const classes = useStyles(); const t = useTranslation(); + const deviceAttributes = useDeviceAttributes(t); + const [item, setItem] = useState(); return ( -- cgit v1.2.3