@steroidsjs/core 2.2.47 → 2.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/core",
3
- "version": "2.2.47",
3
+ "version": "2.2.48",
4
4
  "description": "",
5
5
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
6
  "repository": {
@@ -160,9 +160,9 @@ function Form(props) {
160
160
  // OnChange handler
161
161
  react_use_1.useUpdateEffect(function () {
162
162
  if (props.onChange) {
163
- props.onChange(values);
163
+ props.onChange.call(null, values);
164
164
  }
165
- }, [props, values]);
165
+ }, [props.onChange, values]);
166
166
  // OnSubmit handler
167
167
  var onSubmit = react_1.useCallback(function (e) {
168
168
  if (e === void 0) { e = null; }