Refactor of the main component and i18n

This commit is contained in:
garronej
2023-03-18 18:54:33 +01:00
parent 5631ae1b6c
commit 16d18f23a1
29 changed files with 65 additions and 98 deletions

View File

@ -2,7 +2,7 @@ import { clsx } from "keycloakify/tools/clsx";
import { type PageProps, defaultClasses } from "keycloakify/pages/PageProps";
import { useGetClassName } from "keycloakify/lib/useGetClassName";
import type { KcContext } from "../kcContext";
import type { I18nBase as I18n } from "../i18n";
import type { I18n } from "../i18n";
export default function LoginUpdatePassword(props: PageProps<Extract<KcContext, { pageId: "login-update-password.ftl" }>, I18n>) {
const { kcContext, i18n, doUseDefaultCss, Template, classes } = props;