fix: remove "Set up new" option from 0conf limit step

This commit is contained in:
André Sá 2022-03-09 15:18:31 +00:00
parent 1c3e7c367d
commit d0faec271f
2 changed files with 5 additions and 3 deletions

View file

@ -79,7 +79,10 @@ const Wizard = ({
}),
...zeroConfs
},
{ type: 'zeroConfLimit', name: '0-conf limit', ...zeroConfs }
{
type: 'zeroConfLimit',
name: '0-conf limit'
}
])
: commonWizardSteps

View file

@ -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}