clear code

This commit is contained in:
Hristo Nedelkov 2024-01-29 18:52:53 +02:00
parent d35190cfad
commit ce778bfd11
1 changed files with 1 additions and 11 deletions

View File

@ -78,17 +78,7 @@ const ContinueButton = () => {
isValidatorSet, isValidatorSet,
]) ])
const handleStep1 = () => { //FIX: move this function out of the component
dispatch(setActiveStep(activeStep + 1))
}
const handleStep2 = () => {
if (subStepValidatorSetup === 3) {
return dispatch(setActiveStep(activeStep + 1))
}
dispatch(setSubStepValidatorSetup(subStepValidatorSetup + 1))
}
const handleStep4 = () => { const handleStep4 = () => {
if (!isConfirmPhraseStage && recoveryMechanism === KEYSTORE_FILES) { if (!isConfirmPhraseStage && recoveryMechanism === KEYSTORE_FILES) {
return dispatch(setActiveStep(activeStep + 1)) return dispatch(setActiveStep(activeStep + 1))