Update KcApp.tsx
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
parent
58fa92f5ac
commit
92abd21618
@ -35,6 +35,12 @@ export default function App(props: { kcContext: KcContext; }) {
|
|||||||
if (i18n === null) {
|
if (i18n === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Examples assuming i18n.currentLanguageTag === "en":
|
||||||
|
* i18n.msg("access-denied") === <span>Access denied</span>
|
||||||
|
* i18n.msg("foo") === <span>foo in English</span>
|
||||||
|
*/
|
||||||
|
|
||||||
const pageProps: Omit<PageProps<any, typeof i18n>, "kcContext"> = {
|
const pageProps: Omit<PageProps<any, typeof i18n>, "kcContext"> = {
|
||||||
i18n,
|
i18n,
|
||||||
|
Loading…
Reference in New Issue
Block a user