@panneau/medias 3.0.264 → 3.0.265

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.
Files changed (2) hide show
  1. package/es/index.js +1 -2
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -539,7 +539,6 @@ function MediaForm(_ref) {
539
539
  }
540
540
  }, [initialValue, mediaDelete, mediaTrash, deletedAt, setChanged, onDelete, withTrash]);
541
541
  var onUploadComplete = useCallback(function (data) {
542
- console.log('MediaForm::onUploadComplete', data);
543
542
  var _ref4 = initialValue || {},
544
543
  _ref4$id = _ref4.id,
545
544
  id = _ref4$id === void 0 ? null : _ref4$id;
@@ -604,7 +603,7 @@ function MediaForm(_ref) {
604
603
  "value": "Replace"
605
604
  }]
606
605
  }),
607
- onUploadComplete: onUploadComplete
606
+ onChange: onUploadComplete
608
607
  }) : null, withDelete ? /*#__PURE__*/React.createElement(Button, {
609
608
  className: "me-2 mb-1 mt-1",
610
609
  theme: "danger",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/medias",
3
- "version": "3.0.264",
3
+ "version": "3.0.265",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "e631523322f97d4a3cbb1db1d701afc04cccafe7"
77
+ "gitHead": "3cdd08e740b8d4a63c17ac95f4a43c4974aaa286"
78
78
  }