We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d6356 commit ed6f0cfCopy full SHA for ed6f0cf
src/components/Form/Form.js
@@ -46,7 +46,7 @@ export const Form = React.forwardRef(function Form(
46
...prev,
47
[field.name]: value,
48
};
49
- onChange(newState);
+ onChange?.(newState);
50
return newState;
51
});
52
}
0 commit comments