fix: clean validator on boarding code

This commit is contained in:
RadoslavDimchev 2024-01-18 18:56:53 +02:00
parent 47ed76a0f2
commit 0c610343d1
1 changed files with 0 additions and 15 deletions

View File

@ -1,5 +1,4 @@
import { YStack } from 'tamagui'
import { useSelector } from 'react-redux'
import { RootState } from '../../redux/store'
@ -15,25 +14,11 @@ import Advisories from './Advisories/Advisories'
import ValidatorSetup from './ValidatorSetup/ValidatorSetup/ValidatorSetup'
import ValidatorSetupInstall from './ValidatorSetup/ValidatorInstalling/ValidatorInstall'
import ContinueButton from './ContinueButton'
import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup'
import './layoutGradient.css'
import Deposit from './Deposit/Deposit'
import './layoutGradient.css'
import { useEffect, useState } from 'react'
const ValidatorOnboarding = () => {
const [windowWidth, setWindowWidth] = useState(window.innerWidth)
useEffect(() => {
const handleResize = () => {
setWindowWidth(window.innerWidth)
}
window.addEventListener('resize', handleResize)
return () => window.removeEventListener('resize', handleResize)
}, [])
const { activeStep, subStepValidatorSetup } = useSelector(
(state: RootState) => state.validatorOnboarding,
)