| 28 | const isLastStep = currentStep === totalSteps; |
| 29 | |
| 30 | const updateStep = newStep => { |
| 31 | setCurrentStep(newStep); |
| 32 | if (newStep > totalSteps) { |
| 33 | onFinalStepCompleted(); |
| 34 | } else { |
| 35 | onStepChange(newStep); |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | const handleBack = () => { |
| 40 | if (currentStep > 1) { |
no outgoing calls
no test coverage detected