Fix again

This commit is contained in:
Kilian Hofmann 2024-07-25 01:20:02 +02:00
parent 7e30d515b6
commit d9755c732c
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-DF1vYdSH.js"></script>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-Zuvl5YZF.js"></script>
</head>
<body>
<div id="root"></div>

View File

@ -58,7 +58,7 @@ const Login: FC = () => {
onBlur={field.handleBlur}
onChange={(e) => field.handleChange(e.target.value)}
size="small"
label={t('EMail')}
label={t('Erail')}
required
error={field.state.meta.isTouched && field.state.meta.errors.length > 0}
helperText={field.state.meta.isTouched ? field.state.meta.errors.join(',') : ''}

View File

@ -21,7 +21,7 @@ i18n
// for all options read: https://www.i18next.com/overview/configuration-options
.init({
fallbackLng: 'en',
debug: true,
debug: process.env.NODE_ENV === 'development',
interpolation: {
escapeValue: false, // not needed for react as it escapes by default