From 65c2c9c5efd035215538b45578a65b6e2391deae Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Mon, 9 Oct 2023 12:05:18 +0300 Subject: [PATCH] fix step logic --- src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx index 58ad9546..312ad89c 100644 --- a/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorOnboarding.tsx @@ -71,7 +71,7 @@ const ValidatorOnboarding = () => { } else { return } - } else if (activeStep === 3 && subStepValidatorSetup < 3) { + } else if (activeStep === 2 && subStepValidatorSetup < 3) { setSubStepValidatorSetup(subStepValidatorSetup + 1) } else if (isWalletConnected && activeStep === 5) { dispatch(setIsTransactionConfirmation(true))