Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Jul 9, 2024
1 parent bf0d3da commit 14de535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/flows/authorize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
<div class="${className}">
<div ${classAttribute}>
${h1(html`${copy[`${action}_title_1`]}`)}
<p class="t-lead l-stack">
${copy[`${action}_subtitle`]} ${copy[`${action}_subtitle_join`]}
Expand Down

0 comments on commit 14de535

Please sign in to comment.