We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4a2f5 commit a3c396bCopy full SHA for a3c396b
1 file changed
src/steps/Steps.tsx
@@ -33,7 +33,7 @@ export const Steps = () => {
33
}
34
35
const onBack = () => {
36
- onClickStep(activeStep - 1)
+ onClickStep(Math.max(activeStep - 1, 0))
37
38
39
const onNext = (v: StepState) => {
0 commit comments