format
This commit is contained in:
parent
bad20a60e5
commit
b290e62a59
|
@ -19,7 +19,6 @@ const ClientSetup = ({ setIsValidatorSet }: ClientSetupProps) => {
|
|||
const numberValue = Number(value)
|
||||
if (!isNaN(numberValue)) {
|
||||
setValidatorCount(numberValue)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ const ContinueButton = ({
|
|||
activeStep,
|
||||
isConfirmPhraseStage,
|
||||
subStepValidatorSetup,
|
||||
isValidatorSet
|
||||
isValidatorSet,
|
||||
}: ContinueButton) => {
|
||||
const { isCopyPastedPhrase, words, validWords } = useSelector(
|
||||
(state: RootState) => state.keyGeneration,
|
||||
|
@ -70,7 +70,11 @@ const ContinueButton = ({
|
|||
alignItems: 'end',
|
||||
}}
|
||||
>
|
||||
<Button onPress={continueHandler} size={40} disabled={isDisabled() || (isValidatorSet === false && activeStep === 3)}>
|
||||
<Button
|
||||
onPress={continueHandler}
|
||||
size={40}
|
||||
disabled={isDisabled() || (isValidatorSet === false && activeStep === 3)}
|
||||
>
|
||||
{activeStep < 6 ? 'Continue' : 'Continue to Dashboard'}
|
||||
</Button>
|
||||
</Stack>
|
||||
|
|
|
@ -129,7 +129,7 @@ const ValidatorOnboarding = () => {
|
|||
{activeStep === 2 && subStepValidatorSetup === 1 && <ValidatorSetupInstall />}
|
||||
{activeStep === 2 && subStepValidatorSetup === 2 && <ConsensusSelection />}
|
||||
{activeStep === 2 && subStepValidatorSetup === 3 && <ActivationValidatorSetup />}
|
||||
{activeStep === 3 && <ClientSetup setIsValidatorSet={setIsValidatorSet}/>}
|
||||
{activeStep === 3 && <ClientSetup setIsValidatorSet={setIsValidatorSet} />}
|
||||
|
||||
{activeStep === 4 && <KeyGeneration isConfirmPhraseStage={isConfirmPhraseStage} />}
|
||||
{activeStep === 5 && <Deposit />}
|
||||
|
|
Loading…
Reference in New Issue