import React, { useState } from "react"; import { clsx } from "../tools/clsx"; import { UserProfileFormFields } from "./shared/UserProfileCommons"; import type { KcContextBase } from "../getKcContext"; import type { PageProps } from "../KcProps"; import type { I18nBase } from "../i18n"; export default function IdpReviewUserProfile(props: PageProps) { const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props; const { msg, msgStr } = i18n; const { url } = kcContext; const [isFomSubmittable, setIsFomSubmittable] = useState(false); return (