diff --git a/src/login/i18n/withJsx/useI18n.tsx b/src/login/i18n/withJsx/useI18n.tsx index e9999301..7718244b 100644 --- a/src/login/i18n/withJsx/useI18n.tsx +++ b/src/login/i18n/withJsx/useI18n.tsx @@ -92,7 +92,8 @@ export function createUseI18n< const styleElement = document.createElement("style"); styleElement.attributes.setNamedItem(document.createAttribute(attributeName)); - (styleElement.textContent = `[data-kc-msg] { display: inline-block; }`), document.head.prepend(styleElement); + styleElement.textContent = `[data-kc-msg] { display: inline-block; }`; + document.head.prepend(styleElement); } const { getI18n } = createGetI18n({ extraLanguageTranslations, messagesByLanguageTag_themeDefined });