mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use @typescript-eslint/semi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0b182ccf6f
commit
460dfe4d2b
179 files changed
+556
-554
No files matched your search
@@ -136,7 +136,7 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
|
||||
|
||||
static defaultProps: WizardStepProps = {
|
||||
scrollable: true,
|
||||
}
|
||||
};
|
||||
|
||||
componentWillUnmount() {
|
||||
this.unmounting = true;
|
||||
@@ -146,7 +146,7 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
|
||||
const { isFirst, prev, done } = this.props;
|
||||
if (isFirst() && done) done();
|
||||
else prev();
|
||||
}
|
||||
};
|
||||
|
||||
next = () => {
|
||||
const next = this.props.next;
|
||||
@@ -167,7 +167,7 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
|
||||
else {
|
||||
nextStep();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
submit = () => {
|
||||
if (!this.form.noValidate) {
|
||||
@@ -175,7 +175,7 @@ export class WizardStep extends React.Component<WizardStepProps, WizardStepState
|
||||
if (!valid) return;
|
||||
}
|
||||
this.next();
|
||||
}
|
||||
};
|
||||
|
||||
renderLoading() {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user