diff --git a/src/keycloak-theme/account/KcApp.tsx b/src/keycloak-theme/account/KcApp.tsx index 11a62a0..ae75c1d 100644 --- a/src/keycloak-theme/account/KcApp.tsx +++ b/src/keycloak-theme/account/KcApp.tsx @@ -5,7 +5,6 @@ import type { KcContext } from "./kcContext"; import { useI18n } from "./i18n"; const Template = lazy(() => import("./Template")); -const DefaultTemplate = lazy(() => import("keycloakify/account/Template")); const Password = lazy(() => import("./pages/Password")); const MyExtraPage1 = lazy(() => import("./pages/MyExtraPage1")); @@ -33,7 +32,7 @@ export default function KcApp(props: { kcContext: KcContext; }) { case "password.ftl": return ; case "my-extra-page-1.ftl": return ; case "my-extra-page-2.ftl": return ; - default: return ; + default: return ; } })()} diff --git a/src/keycloak-theme/login/KcApp.tsx b/src/keycloak-theme/login/KcApp.tsx index ee8438f..f734f4c 100644 --- a/src/keycloak-theme/login/KcApp.tsx +++ b/src/keycloak-theme/login/KcApp.tsx @@ -57,7 +57,7 @@ export default function KcApp(props: { kcContext: KcContext; }) { case "my-extra-page-2.ftl": return ; // We choose to use the default Template for the Info page and to download the theme resources. case "info.ftl": return ; - default: return ; + default: return ; } })()}