mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-18 06:16:38 +00:00
clear code
This commit is contained in:
parent
d35190cfad
commit
ce778bfd11
@ -78,17 +78,7 @@ const ContinueButton = () => {
|
||||
isValidatorSet,
|
||||
])
|
||||
|
||||
const handleStep1 = () => {
|
||||
dispatch(setActiveStep(activeStep + 1))
|
||||
}
|
||||
|
||||
const handleStep2 = () => {
|
||||
if (subStepValidatorSetup === 3) {
|
||||
return dispatch(setActiveStep(activeStep + 1))
|
||||
}
|
||||
dispatch(setSubStepValidatorSetup(subStepValidatorSetup + 1))
|
||||
}
|
||||
|
||||
//FIX: move this function out of the component
|
||||
const handleStep4 = () => {
|
||||
if (!isConfirmPhraseStage && recoveryMechanism === KEYSTORE_FILES) {
|
||||
return dispatch(setActiveStep(activeStep + 1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user