14 lines
471 B
TypeScript
Raw Normal View History

2024-06-05 06:10:11 +02:00
import React from "react";
2024-06-10 21:05:17 +02:00
import DefaultPage from "../../dist/account/DefaultPage";
import { useI18n } from "./i18n";
2024-06-05 22:48:13 +02:00
import type { KcContext } from "./KcContext";
2024-06-05 06:10:11 +02:00
import Template from "../../dist/account/Template";
2023-04-20 02:52:49 +02:00
2024-06-09 11:53:25 +02:00
export default function KcPage(props: { kcContext: KcContext }) {
2023-04-20 02:52:49 +02:00
const { kcContext } = props;
const { i18n } = useI18n({ kcContext });
2024-06-09 11:24:50 +02:00
return <DefaultPage kcContext={kcContext} i18n={i18n} Template={Template} doUseDefaultCss={true} />;
2023-04-20 02:52:49 +02:00
}