diff --git a/src/components/ForgotPasswordForm/ForgotPasswordForm.tsx b/src/components/ForgotPasswordForm/ForgotPasswordForm.tsx index 11bbf163b..90bfa0234 100644 --- a/src/components/ForgotPasswordForm/ForgotPasswordForm.tsx +++ b/src/components/ForgotPasswordForm/ForgotPasswordForm.tsx @@ -12,13 +12,14 @@ import styles from './ForgotPasswordForm.module.scss'; type Props = { onSubmit: React.FormEventHandler; onChange: React.ChangeEventHandler; + onBlur: React.FocusEventHandler; error?: string; errors: FormErrors; value: ForgotPasswordFormData; submitting: boolean; }; -const ForgotPasswordForm: React.FC = ({ onSubmit, onChange, value, errors, submitting }: Props) => { +const ForgotPasswordForm: React.FC = ({ onSubmit, onChange, value, errors, submitting, onBlur }: Props) => { const { t } = useTranslation('account'); return ( @@ -29,6 +30,7 @@ const ForgotPasswordForm: React.FC = ({ onSubmit, onChange, value, errors = ({ type }: Prop) => { onChange={emailForm.handleChange} errors={emailForm.errors} onSubmit={emailForm.handleSubmit} + onBlur={emailForm.handleBlur} /> )} {type === 'confirmation' && (