feat: add deposit step
This commit is contained in:
parent
fa71f7978e
commit
1c347cfe22
|
@ -1,4 +1,5 @@
|
|||
import { Stepper, Step } from 'react-form-stepper'
|
||||
|
||||
import './FormStepper.css'
|
||||
|
||||
type FormStepperProps = {
|
||||
|
@ -13,6 +14,7 @@ const steps = [
|
|||
{ label: 'Validator Setup', subtitle: 'Validators & Withdrawal' },
|
||||
{ label: 'Key Generation', subtitle: 'Secure your Keypairs' },
|
||||
{ label: 'Activation', subtitle: 'Complete Setup' },
|
||||
{ label: 'Deposit', subtitle: 'Stake your ETH' },
|
||||
]
|
||||
|
||||
const FormStepper = ({ activeStep, changeActiveStep }: FormStepperProps) => {
|
||||
|
|
|
@ -2,6 +2,7 @@ import { YStack } from 'tamagui'
|
|||
import { useNavigate } from 'react-router-dom'
|
||||
import { useState } from 'react'
|
||||
import { useDispatch, useSelector } from 'react-redux'
|
||||
import wordlist from 'web-bip39/wordlists/english'
|
||||
|
||||
import FormStepper from './FormStepper/FormStepper'
|
||||
import Titles from '../../components/General/Titles'
|
||||
|
@ -20,9 +21,8 @@ import {
|
|||
setValidWords,
|
||||
} from '../../redux/ValidatorOnboarding/KeyGeneration/slice'
|
||||
import { RootState } from '../../redux/store'
|
||||
import './layoutGradient.css'
|
||||
import ActivationValidatorSetup from './ValidatorSetup/ValidatorActivation/ActivationValidatorSetup'
|
||||
import wordlist from 'web-bip39/wordlists/english'
|
||||
import './layoutGradient.css'
|
||||
|
||||
const ValidatorOnboarding = () => {
|
||||
const [activeStep, setActiveStep] = useState(0)
|
||||
|
|
Loading…
Reference in New Issue