From 412e32c53e2061085312409bdf441b139e91d22b Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Wed, 30 Aug 2023 11:39:11 +0300 Subject: [PATCH] Fix form stepper --- .../FormStepper/FormStepper.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx index 97e07ef6..cb74d96b 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx @@ -32,26 +32,34 @@ const FormStepper = ({ activeStep, changeActiveStep }: FormStepperProps) => { data-step="Advicsories" /> changeActiveStep(2)} completed={activeStep > 1} + data-subtitle="Execution & Consensus" + data-step="Advicsories" + /> + changeActiveStep(3)} + completed={activeStep > 2} data-subtitle="Clients, Nodes & Validators" data-step="Validator Setup" /> changeActiveStep(3)} - completed={activeStep > 2} + onClick={() => changeActiveStep(4)} + completed={activeStep > 3} data-subtitle="Secure your Keypairs" data-step="Key Generation" /> changeActiveStep(4)} - completed={activeStep > 3} + onClick={() => changeActiveStep(5)} + completed={activeStep > 4} data-subtitle="Complete Setup" data-step="Activation" />