diff --git a/package.json b/package.json index dc3a21c..acc2fab 100755 --- a/package.json +++ b/package.json @@ -23,8 +23,7 @@ "license": "MIT", "keywords": [], "dependencies": { - "@emotion/react": "^11.9.0", - "keycloakify": "^6.8.3", + "keycloakify": "^6.8.4", "react": "18.1.0", "react-dom": "18.1.0", "evt": "^2.4.1" diff --git a/src/KcApp/Register.tsx b/src/KcApp/Register.tsx index bad7a07..2b0ad8c 100644 --- a/src/KcApp/Register.tsx +++ b/src/KcApp/Register.tsx @@ -8,7 +8,7 @@ import { memo } from "react"; import Template from "keycloakify/lib/components/Template"; import type { KcProps } from "keycloakify"; import type { KcContext } from "./kcContext"; -import { useCssAndCx } from "keycloakify/lib/tools/useCssAndCx"; +import { clsx } from "keycloakify/lib/tools/clsx"; import type { I18n } from "./i18n"; type KcContext_Register = Extract; @@ -18,8 +18,6 @@ const Register = memo(({ kcContext, i18n, ...props }: { kcContext: KcContext_Reg const { msg, msgStr } = i18n; - const { cx } = useCssAndCx(); - console.log(`NOTE: It is up to you do do something meaningful with ${kcContext.authorizedMailDomains}`) return ( @@ -28,52 +26,52 @@ const Register = memo(({ kcContext, i18n, ...props }: { kcContext: KcContext_Reg doFetchDefaultThemeResources={true} headerNode={msg("registerTitle")} formNode={ -
-
-
-