diff --git a/src/login/DefaultPage.tsx b/src/login/DefaultPage.tsx index 75bc7eed..278f2013 100644 --- a/src/login/DefaultPage.tsx +++ b/src/login/DefaultPage.tsx @@ -42,7 +42,7 @@ const LoginX509Info = lazy(() => import("keycloakify/login/pages/LoginX509Info") const WebauthnError = lazy(() => import("keycloakify/login/pages/WebauthnError")); type DefaultPageProps = PageProps & { - UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; + UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; doMakeUserConfirmPassword: boolean; }; diff --git a/src/login/UserProfileFormFieldsProps.tsx b/src/login/UserProfileFormFieldsProps.tsx index 20c9e0b0..5b8bcd24 100644 --- a/src/login/UserProfileFormFieldsProps.tsx +++ b/src/login/UserProfileFormFieldsProps.tsx @@ -2,7 +2,7 @@ import { type FormAction, type FormFieldError } from "keycloakify/login/lib/useU import type { KcClsx } from "keycloakify/login/lib/kcClsx"; import type { Attribute } from "keycloakify/login/KcContext"; -export type UserProfileFormFieldsProps = { +export type UserProfileFormFieldsProps = { kcContext: Extract; i18n: I18n; kcClsx: KcClsx; diff --git a/src/login/pages/IdpReviewUserProfile.tsx b/src/login/pages/IdpReviewUserProfile.tsx index 89320715..0e331ec1 100644 --- a/src/login/pages/IdpReviewUserProfile.tsx +++ b/src/login/pages/IdpReviewUserProfile.tsx @@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; type IdpReviewUserProfileProps = PageProps, I18n> & { - UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; + UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; doMakeUserConfirmPassword: boolean; }; diff --git a/src/login/pages/LoginUpdateProfile.tsx b/src/login/pages/LoginUpdateProfile.tsx index 075a3e65..eb48d2a9 100644 --- a/src/login/pages/LoginUpdateProfile.tsx +++ b/src/login/pages/LoginUpdateProfile.tsx @@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; type LoginUpdateProfileProps = PageProps, I18n> & { - UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; + UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; doMakeUserConfirmPassword: boolean; }; diff --git a/src/login/pages/Register.tsx b/src/login/pages/Register.tsx index 4cfd8b18..4b50d37c 100644 --- a/src/login/pages/Register.tsx +++ b/src/login/pages/Register.tsx @@ -9,7 +9,7 @@ import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; type RegisterProps = PageProps, I18n> & { - UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; + UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; doMakeUserConfirmPassword: boolean; }; diff --git a/src/login/pages/UpdateEmail.tsx b/src/login/pages/UpdateEmail.tsx index 43b3285a..43784dc4 100644 --- a/src/login/pages/UpdateEmail.tsx +++ b/src/login/pages/UpdateEmail.tsx @@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; type UpdateEmailProps = PageProps, I18n> & { - UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; + UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>; doMakeUserConfirmPassword: boolean; };