Skip to content

Commit 8eee226

Browse files
committed
fix(lint): removing unused vars, undoing unnecessary change
1 parent fda2e2e commit 8eee226

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

packages/react/rollup.config.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ export default {
1414
}
1515
],
1616
plugins: [
17-
typescript({
18-
tsconfig: './tsconfig.json',
19-
}),
17+
typescript(),
2018
],
2119
external: id => external.includes(id) || id.startsWith('@ionic/core') || id.startsWith('ionicons') || id.startsWith('@stencil/react-output-target'),
2220
};

packages/react/src/components/navigation/IonBackButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class IonBackButton extends React.Component<Props> {
4444
return NavContext;
4545
}
4646

47-
shouldComponentUpdate(_nextProps: Readonly<Props>): boolean {
47+
shouldComponentUpdate(): boolean {
4848
return true;
4949
}
5050
}

packages/react/src/components/navigation/IonTabButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type Props = LocalJSX.IonTabButton &
1717
};
1818

1919
export class IonTabButton extends React.Component<Props> {
20-
shouldComponentUpdate(_nextProps: Readonly<Props>, _nextState: Readonly<{}>): boolean {
20+
shouldComponentUpdate(): boolean {
2121
return true;
2222
}
2323

packages/react/src/components/navigation/IonTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ interface Props extends LocalJSX.IonTabs {
4848
}
4949

5050
export class IonTabs extends React.Component<Props> {
51-
shouldComponentUpdate(_nextProps: Readonly<Props>, _nextState: Readonly<{}>): boolean {
51+
shouldComponentUpdate(): boolean {
5252
return true;
5353
}
5454

0 commit comments

Comments
 (0)