diff --git a/src/pages/ValidatorOnboarding/ContinueButton.tsx b/src/pages/ValidatorOnboarding/ContinueButton.tsx index 9c7a0d8c..47dc886b 100644 --- a/src/pages/ValidatorOnboarding/ContinueButton.tsx +++ b/src/pages/ValidatorOnboarding/ContinueButton.tsx @@ -98,7 +98,6 @@ const ContinueButton = () => { } const continueHandler = () => { - if (activeStep === 1) { handleStep1() } else if (activeStep === 2) { diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx index 5e3c0ad9..aedaf363 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx @@ -24,7 +24,6 @@ const FormStepper = ({ activeStep }: FormStepperProps) => { const dispatch = useDispatch() const changeStepOnClickHandler = (index: number) => { if (activeStep > index) { - dispatch(setActiveStep(index)) } }