diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx index aedaf363..3911c5c4 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx @@ -1,6 +1,4 @@ import { Stepper, Step } from 'react-form-stepper' - -import './FormStepper.css' import { useDispatch } from 'react-redux' import { setActiveStep } from '../../../redux/ValidatorOnboarding/slice' @@ -22,11 +20,13 @@ type FormStepperProps = { const FormStepper = ({ activeStep }: FormStepperProps) => { const dispatch = useDispatch() + const changeStepOnClickHandler = (index: number) => { if (activeStep > index) { dispatch(setActiveStep(index)) } } + return (