aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/DriverPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/DriverPage.js')
-rw-r--r--modern/src/settings/DriverPage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/settings/DriverPage.js b/modern/src/settings/DriverPage.js
index 7bb4497b..a185405e 100644
--- a/modern/src/settings/DriverPage.js
+++ b/modern/src/settings/DriverPage.js
@@ -4,9 +4,9 @@ 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 { useTranslation } from '../LocalizationProvider';
const useStyles = makeStyles(() => ({
details: {
@@ -16,6 +16,7 @@ const useStyles = makeStyles(() => ({
const DriverPage = () => {
const classes = useStyles();
+ const t = useTranslation();
const [item, setItem] = useState();