clear code
This commit is contained in:
parent
d35190cfad
commit
ce778bfd11
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue