We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c6449 commit 5fbdb5eCopy full SHA for 5fbdb5e
src/wizard.tsx
@@ -24,12 +24,14 @@ const Wizard: React.FC<WizardProps> = React.memo(
24
25
const goToPreviousStep = React.useRef(() => {
26
if (hasPreviousStep.current) {
27
+ nextStepHandler.current = null;
28
setActiveStep((activeStep) => activeStep - 1);
29
}
30
});
31
32
const goToStep = React.useRef((stepIndex: number) => {
33
if (stepIndex >= 0 && stepIndex < stepCount) {
34
35
setActiveStep(stepIndex);
36
} else {
37
if (__DEV__) {
0 commit comments