mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 12:00:43 +00:00
fix jumping to not yet active steps
This commit is contained in:
parent
eab4eb221e
commit
65656fff21
@ -33,7 +33,10 @@ const ValidatorOnboarding = () => {
|
||||
const dispatch = useDispatch()
|
||||
|
||||
const changeActiveStep = (step: number) => {
|
||||
setActiveStep(step)
|
||||
if (step < activeStep) {
|
||||
return setActiveStep(step)
|
||||
}
|
||||
|
||||
removeCopyPastePhraseInfoBox()
|
||||
removeConfirmPhraseStage()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user