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
|
||||
},
|
||||
{ type: 'zeroConfLimit', name: '0-conf limit', ...zeroConfs }
|
||||
{
|
||||
type: 'zeroConfLimit',
|
||||
name: '0-conf limit'
|
||||
}
|
||||
])
|
||||
: commonWizardSteps
|
||||
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ const WizardStep = ({
|
|||
radioClassName={classes.radio}
|
||||
/>
|
||||
)}
|
||||
{/* Hack to support optional 0conf setup */
|
||||
isLastStep && step === maxSteps && (
|
||||
{type === 'zeroConfLimit' && (
|
||||
<Formik
|
||||
validateOnBlur={false}
|
||||
validateOnChange={true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue