aboutsummaryrefslogtreecommitdiff
path: root/modern/src/components/registration/RegisterForm.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/components/registration/RegisterForm.js')
-rw-r--r--modern/src/components/registration/RegisterForm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/components/registration/RegisterForm.js b/modern/src/components/registration/RegisterForm.js
index 2d7fa6f9..2da33a28 100644
--- a/modern/src/components/registration/RegisterForm.js
+++ b/modern/src/components/registration/RegisterForm.js
@@ -5,7 +5,7 @@ import {
import { useHistory } from 'react-router-dom';
import ArrowBackIcon from '@material-ui/icons/ArrowBack';
import StartPage from '../../StartPage';
-import t from '../../LocalizationProvider';
+import { useTranslation } from '../../LocalizationProvider';
const useStyles = makeStyles((theme) => ({
register: {
@@ -25,6 +25,7 @@ const useStyles = makeStyles((theme) => ({
const RegisterForm = () => {
const classes = useStyles();
const history = useHistory();
+ const t = useTranslation();
const [name, setName] = useState('');
const [email, setEmail] = useState('');