From 346f1384a52553675ecc8de729fc17142407266f Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Mon, 29 Jan 2024 18:34:19 +0200 Subject: [PATCH] clear code --- src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx | 2 -- src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx index 1bb5d394..cdbf22fc 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx @@ -1,7 +1,5 @@ import { Stepper, Step } from 'react-form-stepper' import { useNavigate } from 'react-router-dom' -import { useDispatch } from 'react-redux' - import { FORM_STEPS } from '../../../constants' import { useWindowSize } from '../../../hooks/useWindowSize' import './FormStepper.css' diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx index b20028b7..79baa6b2 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx @@ -12,7 +12,7 @@ import styles from './layoutGradient.module.css' import { Outlet } from 'react-router-dom' const ValidatorOnboarding = () => { - const { activeStep, subStepValidatorSetup } = useSelector( + const { activeStep } = useSelector( (state: RootState) => state.validatorOnboarding, ) const windowSize = useWindowSize()