From 533f5992d1a3b08ccd6cf5714f35f5d7180c50ca Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Mon, 21 Oct 2024 21:31:22 +0200 Subject: [PATCH] coding style fix --- src/login/i18n/withJsx/useI18n.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 });