mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-25 14:05:03 +00:00
fix(i18n): add default empty string
This commit is contained in:
@ -63,7 +63,7 @@ export default function EnterEmailStep({ email, setEmail, incrementStep }: Downl
|
||||
</p>
|
||||
<div className="flex items-center justify-center w-5/6 md:w-full m-auto md:p-2 rounded-lg max-h-24 mt-4">
|
||||
<InputField
|
||||
label={t("common:email")}
|
||||
label={t("common:email") ?? ""}
|
||||
onChangeHandler={setEmail}
|
||||
type="email"
|
||||
value={email}
|
||||
@ -79,7 +79,7 @@ export default function EnterEmailStep({ email, setEmail, incrementStep }: Downl
|
||||
{t("signup:step1-privacy")}
|
||||
</p>
|
||||
<div className="text-l mt-6 m-2 md:m-8 px-8 py-1 text-lg">
|
||||
<Button text={t("signup:step1-submit")} type="submit" onButtonPressed={emailCheck} size="lg" />
|
||||
<Button text={t("signup:step1-submit") ?? ""} type="submit" onButtonPressed={emailCheck} size="lg" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -125,7 +125,7 @@ export default function Login() {
|
||||
</div>
|
||||
</div>
|
||||
{!isLoading && errorLogin && (
|
||||
<Error text={t("login:error-login")} />
|
||||
<Error text={t("login:error-login") ?? ""} />
|
||||
)}
|
||||
<div className="flex flex-col items-center justify-center w-full md:p-2 max-h-20 max-w-md mt-4 mx-auto text-sm">
|
||||
<div className="text-l mt-6 m-8 px-8 py-3 text-lg">
|
||||
|
Reference in New Issue
Block a user