fix: remove "Set up new" option from 0conf limit step
This commit is contained in:
parent
1c3e7c367d
commit
d0faec271f
2 changed files with 5 additions and 3 deletions
|
|
@ -79,7 +79,10 @@ const Wizard = ({
|
||||||
}),
|
}),
|
||||||
...zeroConfs
|
...zeroConfs
|
||||||
},
|
},
|
||||||
{ type: 'zeroConfLimit', name: '0-conf limit', ...zeroConfs }
|
{
|
||||||
|
type: 'zeroConfLimit',
|
||||||
|
name: '0-conf limit'
|
||||||
|
}
|
||||||
])
|
])
|
||||||
: commonWizardSteps
|
: commonWizardSteps
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,7 @@ const WizardStep = ({
|
||||||
radioClassName={classes.radio}
|
radioClassName={classes.radio}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{/* Hack to support optional 0conf setup */
|
{type === 'zeroConfLimit' && (
|
||||||
isLastStep && step === maxSteps && (
|
|
||||||
<Formik
|
<Formik
|
||||||
validateOnBlur={false}
|
validateOnBlur={false}
|
||||||
validateOnChange={true}
|
validateOnChange={true}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue