fix(client): setFormValueChanged must be defined
This commit is contained in:
parent
61b28b37db
commit
b33c8198e6
@ -62,7 +62,7 @@ const WithForm = (props) => {
|
|||||||
const id = uid();
|
const id = uid();
|
||||||
form.addEffects(id, () => {
|
form.addEffects(id, () => {
|
||||||
onFormInputChange((form) => {
|
onFormInputChange((form) => {
|
||||||
setFormValueChanged(true);
|
setFormValueChanged?.(true);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user