mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
chore: fix type check for i18n (#30058)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -138,7 +138,7 @@ const InstallForm = () => {
|
||||
placeholder={t('login.emailPlaceholder') || ''}
|
||||
className="system-sm-regular w-full appearance-none rounded-md border border-transparent bg-components-input-bg-normal px-3 py-[7px] text-components-input-text-filled caret-primary-600 outline-none placeholder:text-components-input-text-placeholder hover:border-components-input-border-hover hover:bg-components-input-bg-hover focus:border-components-input-border-active focus:bg-components-input-bg-active focus:shadow-xs"
|
||||
/>
|
||||
{errors.email && <span className="text-sm text-red-400">{t(`${errors.email?.message}`)}</span>}
|
||||
{errors.email && <span className="text-sm text-red-400">{t(`${errors.email?.message}` as any) as string}</span>}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -154,7 +154,7 @@ const InstallForm = () => {
|
||||
className="system-sm-regular w-full appearance-none rounded-md border border-transparent bg-components-input-bg-normal px-3 py-[7px] text-components-input-text-filled caret-primary-600 outline-none placeholder:text-components-input-text-placeholder hover:border-components-input-border-hover hover:bg-components-input-bg-hover focus:border-components-input-border-active focus:bg-components-input-bg-active focus:shadow-xs"
|
||||
/>
|
||||
</div>
|
||||
{errors.name && <span className="text-sm text-red-400">{t(`${errors.name.message}`)}</span>}
|
||||
{errors.name && <span className="text-sm text-red-400">{t(`${errors.name.message}` as any) as string}</span>}
|
||||
</div>
|
||||
|
||||
<div className="mb-5">
|
||||
|
||||
Reference in New Issue
Block a user