Skip to content

Commit e0b32d5

Browse files
committed
chore: run linter
1 parent 4c81788 commit e0b32d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/wizard.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ const Wizard: React.FC<WizardProps> = React.memo(
1717

1818
const goToNextStep = React.useCallback(() => {
1919
if (hasNextStep.current) {
20-
setActiveStep(activeStep => activeStep + 1);
20+
setActiveStep((activeStep) => activeStep + 1);
2121
}
2222
}, []);
2323

2424
const previousStep = React.useCallback(() => {
2525
if (hasPreviousStep.current) {
26-
setActiveStep(prev => prev - 1);
26+
setActiveStep((prev) => prev - 1);
2727
}
2828
}, [setActiveStep]);
2929

@@ -58,12 +58,12 @@ const Wizard: React.FC<WizardProps> = React.memo(
5858
isFirstStep: Boolean(!hasPreviousStep.current),
5959
isLastStep: Boolean(!hasNextStep.current),
6060
}),
61-
[doNextStep, previousStep, isLoading, handleStep, activeStep]
61+
[doNextStep, previousStep, isLoading, handleStep, activeStep],
6262
);
6363

6464
const activeStepContent = React.useMemo(
6565
() => React.Children.toArray(children)[activeStep],
66-
[activeStep, children]
66+
[activeStep, children],
6767
);
6868

6969
return (
@@ -75,7 +75,7 @@ const Wizard: React.FC<WizardProps> = React.memo(
7575
</>
7676
</WizardContext.Provider>
7777
);
78-
}
78+
},
7979
);
8080

8181
export default Wizard;

0 commit comments

Comments
 (0)