Skip to content

Commit 5c6ffdb

Browse files
chore(select-modal): fix lint
1 parent 353c44a commit 5c6ffdb

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

core/src/components/select-modal/select-modal.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import xRegular from '@phosphor-icons/core/assets/regular/x.svg';
21
import { getIonMode, getIonTheme } from '@global/ionic-global';
2+
import xRegular from '@phosphor-icons/core/assets/regular/x.svg';
33
import type { ComponentInterface } from '@stencil/core';
44
import { Component, Element, Host, Prop, forceUpdate, h } from '@stencil/core';
55
import { safeCall } from '@utils/overlays';
@@ -185,10 +185,7 @@ export class SelectModal implements ComponentInterface {
185185
{this.header !== undefined && <ion-title>{this.header}</ion-title>}
186186

187187
<ion-buttons slot="end">
188-
<ion-button
189-
aria-label={this.cancelIcon ? this.cancelText : undefined}
190-
onClick={() => this.closeModal()}
191-
>
188+
<ion-button aria-label={this.cancelIcon ? this.cancelText : undefined} onClick={() => this.closeModal()}>
192189
{this.cancelIcon ? (
193190
<ion-icon aria-hidden="true" slot="icon-only" icon={this.cancelButtonIcon}></ion-icon>
194191
) : (

0 commit comments

Comments
 (0)