diff --git a/src/keycloak-theme/account/KcApp.tsx b/src/keycloak-theme/account/KcApp.tsx index 5adb2bd..6f7f5f5 100644 --- a/src/keycloak-theme/account/KcApp.tsx +++ b/src/keycloak-theme/account/KcApp.tsx @@ -16,7 +16,7 @@ const classes: PageProps["classes"] = { "kcBodyClass": "my-root-class" }; -export default function App(props: { kcContext: KcContext; }) { +export default function KcApp(props: { kcContext: KcContext; }) { const { kcContext } = props; diff --git a/src/keycloak-theme/login/KcApp.tsx b/src/keycloak-theme/login/KcApp.tsx index f41f00d..ee8438f 100644 --- a/src/keycloak-theme/login/KcApp.tsx +++ b/src/keycloak-theme/login/KcApp.tsx @@ -28,7 +28,7 @@ const classes: PageProps["classes"] = { "kcHeaderWrapperClass": "my-color my-font" }; -export default function App(props: { kcContext: KcContext; }) { +export default function KcApp(props: { kcContext: KcContext; }) { const { kcContext } = props;