diff --git a/src/pages/ValidatorOnboarding/ContinueButton.tsx b/src/pages/ValidatorOnboarding/ContinueButton.tsx index 971c1169..782611ad 100644 --- a/src/pages/ValidatorOnboarding/ContinueButton.tsx +++ b/src/pages/ValidatorOnboarding/ContinueButton.tsx @@ -110,14 +110,15 @@ const ContinueButton = () => { const continueHandler = () => { let nextPath = STEPPER_PATHS[activeStep] || '/validator-onboarding/' - - + if (activeStep === 7) { - nextPath = isConfirmPhraseStage ? '/validator-onboarding/deposit' : '/validator-onboarding/key-generation'; - handleRecoveryMechanism(); + nextPath = isConfirmPhraseStage + ? '/validator-onboarding/deposit' + : '/validator-onboarding/key-generation' + handleRecoveryMechanism() } - - navigate(nextPath); + + navigate(nextPath) } return ( @@ -128,14 +129,14 @@ const ContinueButton = () => { {windowSize.width >= 1155 && } + {isActivationValScreen && ( { style={{ fontWeight: 'bold', zIndex: 999 }} /> )} -