Fix: remove unnecessary variables

This commit is contained in:
csrapr 2021-05-13 00:20:58 +01:00 committed by Josh Harvey
parent a521b679c4
commit 7210406a8a
7 changed files with 14 additions and 34 deletions

View file

@ -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])