Skip to content

Commit e120f47

Browse files
committed
lint
1 parent f395512 commit e120f47

6 files changed

Lines changed: 19 additions & 14 deletions

File tree

src/icons/v2/icons-svg/contactIcons.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ export const emailIcon = html`
2525
<path d="M13.334 2.66675H2.66732C1.93094 2.66675 1.33398 3.2637 1.33398 4.00008V12.0001C1.33398 12.7365 1.93094 13.3334 2.66732 13.3334H13.334C14.0704 13.3334 14.6673 12.7365 14.6673 12.0001V4.00008C14.6673 3.2637 14.0704 2.66675 13.334 2.66675Z" stroke="#4A5565" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
2626
</svg>
2727
`
28-

src/icons/v2/icons-svg/profileIcons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,4 +315,4 @@ export const twoDownArrowsIcon = html`
315315
<path d="M3.5 4L8 8L12.5 4" stroke="#7C4DFF" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"/>
316316
<path d="M3.5 8L8 12L12.5 8" stroke="#7C4DFF" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"/>
317317
</svg>
318-
`
318+
`

src/v2/components/header/Header.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,10 @@ export class Header extends LitElement {
740740
part="account-menu-trigger"
741741
>
742742
${this.renderLoggedInAvatar(this.accountAvatar)}
743-
${this.layout !== 'mobile' && this.accountIcon ? html`
744-
<img class="account-menu-trigger-icon" src="${this.accountIcon}" alt="" aria-hidden="true" />` : ''}
743+
${this.layout !== 'mobile' && this.accountIcon
744+
? html`
745+
<img class="account-menu-trigger-icon" src="${this.accountIcon}" alt="" aria-hidden="true" />`
746+
: ''}
745747
</button>
746748
</slot>
747749

src/v2/components/loginButton/LoginButton.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,17 +447,20 @@ export class LoginButton extends LitElement {
447447
@keydown="${this._handleInputKeydown}"
448448
autocomplete="url"
449449
/>
450-
${suggestedIssuers.length ? html`
450+
${suggestedIssuers.length
451+
? html`
451452
<button
452453
class="issuer-dropdown-toggle"
453454
type="button"
454455
aria-label="Show identity provider suggestions"
455456
aria-expanded="${this._dropdownOpen}"
456457
@click="${() => this._toggleDropdown()}"
457458
>${downArrowIcon}</button>
458-
` : ''}
459+
`
460+
: ''}
459461
</div>
460-
${this._dropdownOpen && suggestedIssuers.length ? html`
462+
${this._dropdownOpen && suggestedIssuers.length
463+
? html`
461464
<div class="issuer-dropdown-list" role="listbox">
462465
${suggestedIssuers.map(issuerInfo => html`
463466
<button
@@ -468,7 +471,8 @@ export class LoginButton extends LitElement {
468471
>${issuerInfo.name}</button>
469472
`)}
470473
</div>
471-
` : ''}
474+
`
475+
: ''}
472476
</div>
473477
</div>
474478
${this._errorMsg ? html`<div class="error-msg">${this._errorMsg}</div>` : ''}

src/v2/components/loginButton/downArrow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export const phoneIcon = html`
77
>
88
<path d="M0.679688 0.678955L5.50729 5.50656L10.3349 0.678955" stroke="#6A7282" stroke-width="1.35776" stroke-linecap="round" stroke-linejoin="round"/>
99
</svg>
10-
`
10+
`

src/widgets/buttons.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ export function refreshTree (root: any): void {
867867
/**
868868
* Options argument for [[attachmentList]] function
869869
*/
870-
/* The following options renderSupportingInfo and renderNameSuffix
870+
/* The following options renderSupportingInfo and renderNameSuffix
871871
were generated by AI Model: GPT-5.3-Codex */
872872
/* Prompt: Add two options one renderSupportingInfo to allow the caller to add some additional information
873873
to be displayed below the name. Also add renderNameSuffix to allow the caller to add pronouns or other suffixes to the name. */
@@ -949,10 +949,10 @@ export function attachmentList (dom: HTMLDocument, subject: NamedNode, div: HTML
949949
createNewRow,
950950
hasAsyncEnrichedRowOptions
951951
? function (row, thing) {
952-
// When row content depends on async profile data, recreate matched rows on refresh.
953-
const replacement = createNewRow(thing)
954-
return replacement
955-
}
952+
// When row content depends on async profile data, recreate matched rows on refresh.
953+
const replacement = createNewRow(thing)
954+
return replacement
955+
}
956956
: undefined
957957
)
958958
}

0 commit comments

Comments
 (0)