From 55e0d0879673be3b1b19738a3af940c3bc195cd4 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Fri, 26 Jul 2024 12:44:31 +0200 Subject: [PATCH] Fix build --- src/main.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index f8b4787..61406d2 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -16,7 +16,7 @@ if (import.meta.env.DEV) { */ const KcLoginThemePage = lazy(() => import("./login/KcPage")); -const KcAccountThemePage = lazy(() => import("./account/KcPage")); +//const KcAccountThemePage = lazy(() => import("./account/KcPage")); createRoot(document.getElementById("root")!).render( @@ -25,8 +25,8 @@ createRoot(document.getElementById("root")!).render( switch (window.kcContext?.themeType) { case "login": return ; - case "account": - return ; + //case "account": + // return ; } return

No Keycloak Context

; })()} @@ -38,6 +38,6 @@ declare global { interface Window { kcContext?: | import("./login/KcContext").KcContext - | import("./account/KcContext").KcContext; + //| import("./account/KcContext").KcContext; } }