aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar garronej <[email protected]>2023-05-02 04:52:35 +0200
committerGravatar garronej <[email protected]>2023-05-02 04:52:35 +0200
commit63f3f9ff6741c5492ac175c8c08c287fcc27d558 (patch)
treeffab6960e57aaa43f3ed9bc66a60f1f78fcdcdaf
parentBump version (diff)
Fix typo
-rw-r--r--src/keycloak-theme/login/pages/RegisterUserProfile.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keycloak-theme/login/pages/RegisterUserProfile.tsx b/src/keycloak-theme/login/pages/RegisterUserProfile.tsx
index 9b0078b..09bf27e 100644
--- a/src/keycloak-theme/login/pages/RegisterUserProfile.tsx
+++ b/src/keycloak-theme/login/pages/RegisterUserProfile.tsx
@@ -19,7 +19,7 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
const { msg, msgStr } = i18n;
- const [isFomSubmittable, setIsFomSubmittable] = useState(false);
+ const [isFormSubmittable, setIsFormSubmittable] = useState(false);
return (
<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">
<UserProfileFormFields
kcContext={kcContext}
- onIsFormSubmittableValueChange={setIsFomSubmittable}
+ onIsFormSubmittableValueChange={setIsFormSubmittable}
i18n={i18n}
getClassName={getClassName}
/>
@@ -61,7 +61,7 @@ export default function RegisterUserProfile(props: PageProps<Extract<KcContext,
)}
type="submit"
value={msgStr("doRegister")}
- disabled={!isFomSubmittable}
+ disabled={!isFormSubmittable}
/>
</div>
</div>