Various little adjustments relative to the new i18n API
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import { i18nApi } from "../../dist/login";
|
||||
import { i18nInitializer } from "../../dist/login";
|
||||
import type { ThemeName } from "../kc.gen";
|
||||
|
||||
export const { useI18n, ofTypeI18n } = i18nApi
|
||||
export const { useI18n, ofTypeI18n } = i18nInitializer
|
||||
.withThemeName<ThemeName>()
|
||||
.withTranslations({})
|
||||
.withCustomTranslations({})
|
||||
.create();
|
||||
|
||||
export type I18n = typeof ofTypeI18n;
|
||||
|
Reference in New Issue
Block a user