Fix typo
This commit is contained in:
parent
d439e2a3a8
commit
63f3f9ff67
|
@ -19,7 +19,7 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
|
||||||
|
|
||||||
const { msg, msgStr } = i18n;
|
const { msg, msgStr } = i18n;
|
||||||
|
|
||||||
const [isFomSubmittable, setIsFomSubmittable] = useState(false);
|
const [isFormSubmittable, setIsFormSubmittable] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Template
|
<Template
|
||||||
|
@ -31,7 +31,7 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
|
||||||
<form id="kc-register-form" className={getClassName("kcFormClass")} action={url.registrationAction} method="post">
|
<form id="kc-register-form" className={getClassName("kcFormClass")} action={url.registrationAction} method="post">
|
||||||
<UserProfileFormFields
|
<UserProfileFormFields
|
||||||
kcContext={kcContext}
|
kcContext={kcContext}
|
||||||
onIsFormSubmittableValueChange={setIsFomSubmittable}
|
onIsFormSubmittableValueChange={setIsFormSubmittable}
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
getClassName={getClassName}
|
getClassName={getClassName}
|
||||||
/>
|
/>
|
||||||
|
@ -61,7 +61,7 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
|
||||||
)}
|
)}
|
||||||
type="submit"
|
type="submit"
|
||||||
value={msgStr("doRegister")}
|
value={msgStr("doRegister")}
|
||||||
disabled={!isFomSubmittable}
|
disabled={!isFormSubmittable}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue