diff --git a/src/kc.gen.tsx b/src/kc.gen.tsx index b9240c3..b9ee6b7 100644 --- a/src/kc.gen.tsx +++ b/src/kc.gen.tsx @@ -20,7 +20,9 @@ export const kcEnvNames: KcEnvName[] = []; export const kcEnvDefaults: Record = {}; -type KcContext = import("./login/KcContext").KcContext; +type KcContext = + | import("./login/KcContext").KcContext + ; declare global { interface Window { @@ -30,18 +32,22 @@ declare global { export const KcLoginPage = lazy(() => import("./login/KcPage")); -export function KcPage(props: { kcContext: KcContext; fallback?: ReactNode }) { +export function KcPage( + props: { + kcContext: KcContext; + fallback?: ReactNode; + } +) { const { kcContext, fallback } = props; return ( {(() => { switch (kcContext.themeType) { - case "login": - return ; + case "login": return ; } })()} - ); + ) } /* prettier-ignore-end */