From 14de5352fc799ac79751f05bce01586c73aab648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7?= Date: Thu, 4 Jul 2024 13:03:23 +0200 Subject: [PATCH] Fix lint --- src/frontend/src/flows/authorize/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/flows/authorize/index.ts b/src/frontend/src/flows/authorize/index.ts index 12a8abf42d..30ab3c4bd9 100644 --- a/src/frontend/src/flows/authorize/index.ts +++ b/src/frontend/src/flows/authorize/index.ts @@ -112,9 +112,9 @@ export const authnTemplateAuthorize = ({ const altOrigin = isAltOriginOf(action); // The "use_existing" screen has a different layout (mainWindow) than the "pick" screen (landingPage). // Ideally the outer space would be handled by the parent. - const className = action === "use_existing" ? "l-stack" : undefined; + const classAttribute = action === "use_existing" ? 'class="l-stack"' : ""; return html` -
+
${h1(html`${copy[`${action}_title_1`]}`)}

${copy[`${action}_subtitle`]} ${copy[`${action}_subtitle_join`]}