|
|
|
|
@ -14,7 +14,7 @@ import { FormStore } from 'features/FormStore' |
|
|
|
|
|
|
|
|
|
import { useRegistrationForm } from './hooks' |
|
|
|
|
|
|
|
|
|
const labelWidth = 116 |
|
|
|
|
const labelWidth = 76 |
|
|
|
|
|
|
|
|
|
const Registration = () => { |
|
|
|
|
const { |
|
|
|
|
@ -30,20 +30,6 @@ const Registration = () => { |
|
|
|
|
<BlockTitle> |
|
|
|
|
<T9n t='step_title_registration' /> |
|
|
|
|
</BlockTitle> |
|
|
|
|
<Input |
|
|
|
|
value={readFormValue(formIds.firstname)} |
|
|
|
|
error={readFormError(formIds.firstname)} |
|
|
|
|
labelLexic='form_firstname' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.firstname)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
value={readFormValue(formIds.lastname)} |
|
|
|
|
error={readFormError(formIds.lastname)} |
|
|
|
|
labelLexic='form_lastname' |
|
|
|
|
labelWidth={labelWidth} |
|
|
|
|
onChange={updateFormValue(formIds.lastname)} |
|
|
|
|
/> |
|
|
|
|
<Input |
|
|
|
|
value={readFormValue(formIds.email)} |
|
|
|
|
error={readFormError(formIds.email)} |
|
|
|
|
|