Skip to content

Commit 57a1e20

Browse files
committed
feat(tabButton): run lint
1 parent dd4865a commit 57a1e20

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/components/item/item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export class Item implements ComponentInterface, AnchorInterface, ButtonInterfac
250250
const mode = getIonMode(this);
251251
const shouldActivate = this.isClickable() || this.hasCover();
252252
if (theme !== 'ionic') {
253-
return shouldActivate;
253+
return shouldActivate;
254254
}
255255
return mode === 'md' && shouldActivate;
256256
}

core/src/components/tab-button/tab-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ export class TabButton implements ComponentInterface, AnchorInterface {
167167
const theme = getIonTheme(this);
168168
const mode = getIonMode(this);
169169
if (theme !== 'ionic') {
170-
return true;
170+
return true;
171171
}
172172
return mode === 'md';
173-
}
173+
}
174174

175175
render() {
176176
const { disabled, hasIcon, hasLabel, href, rel, target, layout, selected, tab, inheritedAttributes } = this;

0 commit comments

Comments
 (0)