Fix an eslint for hooks issue
This commit is contained in:
parent
84ec047111
commit
c9a1bdb3e4
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue