Fix: remove unnecessary variables
This commit is contained in:
parent
a521b679c4
commit
7210406a8a
7 changed files with 14 additions and 34 deletions
|
|
@ -59,8 +59,7 @@ const WizardStep = ({
|
|||
onContinue,
|
||||
filled,
|
||||
unfilled,
|
||||
getValue,
|
||||
locale
|
||||
getValue
|
||||
}) => {
|
||||
const classes = useStyles()
|
||||
const [{ innerError, selected, form, isNew }, dispatch] = useReducer(
|
||||
|
|
@ -69,9 +68,6 @@ const WizardStep = ({
|
|||
)
|
||||
|
||||
useEffect(() => {
|
||||
if (step === 5) {
|
||||
return dispatch({ type: 'form', form: { code: 'zeroConfLimit' } })
|
||||
}
|
||||
dispatch({ type: 'reset' })
|
||||
}, [step])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue