Fix an eslint for hooks issue

This commit is contained in:
Eric Schultz 2020-11-06 15:58:50 -06:00 committed by Eric Schultz
parent 84ec047111
commit c9a1bdb3e4

View file

@ -69,7 +69,7 @@ function MoneyTextField({ children, form, field, currencyDisplay, useGrouping, a
form.setFieldValue(fieldName, Money.fromCents(valueInCents, currency));
}, [fieldName, valueInCents, currency]);
}, [fieldName, valueInCents, currency, form]);
return <MuiTextField {...fieldToTextField({form, field, ...props})} value={maskedValue}