@panneau/medias 3.0.267 → 3.0.268

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 -0
  2. package/package.json +2 -2
package/es/index.js CHANGED
@@ -1146,6 +1146,7 @@ function MediasBrowser(_ref) {
1146
1146
  }, [setCurrentMedia, updateItem]);
1147
1147
  var onReplaceMedia = useCallback(function (item) {
1148
1148
  setCurrentMedia(item);
1149
+ reload();
1149
1150
  }, [setCurrentMedia]);
1150
1151
  var onDeleteMedia = useCallback(function () {
1151
1152
  if (reload !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/medias",
3
- "version": "3.0.267",
3
+ "version": "3.0.268",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "5fb924c64ba74edd9c96ff58f7f6b839b1ef1d3a"
77
+ "gitHead": "e6e413094c4eaa0b8baf5174dd24e50f6c301adb"
78
78
  }