fix: swap activation and deposit

This commit is contained in:
RadoslavDimchev 2023-09-22 08:46:07 +03:00
parent 936941c57d
commit 52bcbc0dce
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ const steps = [
{ label: 'Client Setup', subtitle: 'Execution & Consensus' }, { label: 'Client Setup', subtitle: 'Execution & Consensus' },
{ label: 'Validator Setup', subtitle: 'Validators & Withdrawal' }, { label: 'Validator Setup', subtitle: 'Validators & Withdrawal' },
{ label: 'Key Generation', subtitle: 'Secure your Keypairs' }, { label: 'Key Generation', subtitle: 'Secure your Keypairs' },
{ label: 'Activation', subtitle: 'Complete Setup' },
{ label: 'Deposit', subtitle: 'Stake your ETH' }, { label: 'Deposit', subtitle: 'Stake your ETH' },
{ label: 'Activation', subtitle: 'Complete Setup' },
] ]
const FormStepper = ({ activeStep, changeActiveStep }: FormStepperProps) => { const FormStepper = ({ activeStep, changeActiveStep }: FormStepperProps) => {

View File

@ -106,7 +106,8 @@ const ValidatorOnboarding = () => {
{activeStep === 3 && subStepValidatorSetup === 3 && <ActivationValidatorSetup />} {activeStep === 3 && subStepValidatorSetup === 3 && <ActivationValidatorSetup />}
{activeStep === 4 && <KeyGeneration isConfirmPhraseStage={isConfirmPhraseStage} />} {activeStep === 4 && <KeyGeneration isConfirmPhraseStage={isConfirmPhraseStage} />}
{activeStep === 5 && ( {activeStep === 5 && <Deposit />}
{activeStep === 6 && (
<Activation <Activation
validatorsValue="4" validatorsValue="4"
executionSyncStatus1={{ executionSyncStatus1={{
@ -128,7 +129,6 @@ const ValidatorOnboarding = () => {
validatorQueueValue="92603" validatorQueueValue="92603"
/> />
)} )}
{activeStep === 6 && <Deposit />}
</ValidatorBoxWrapper> </ValidatorBoxWrapper>
<ContinueButton <ContinueButton
activeStep={activeStep} activeStep={activeStep}