Update keycloakify

This commit is contained in:
Joseph Garrone 2024-10-25 03:04:43 +02:00
parent 3564cbac6c
commit 13b0d685b8
5 changed files with 13 additions and 24 deletions

View file

@ -2,9 +2,7 @@ import { i18nBuilder } from "keycloakify/login";
import type { ThemeName } from "../kc.gen";
/** @see: https://docs.keycloakify.dev/i18n */
const { useI18n, ofTypeI18n } = i18nBuilder
.withThemeName<ThemeName>()
.build();
const { useI18n, ofTypeI18n } = i18nBuilder.withThemeName<ThemeName>().build();
type I18n = typeof ofTypeI18n;