ywana-core8 0.0.277 → 0.0.278
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/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/upload/Upload.test.js +2 -2
- package/src/widgets/upload/UploadArea.js +4 -1
- package/src/widgets/upload/Uploader.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -2717,7 +2717,10 @@
|
|
2717
2717
|
resumable = _ref.resumable;
|
2718
2718
|
var iconElement = React.useRef();
|
2719
2719
|
React.useEffect(function () {
|
2720
|
-
if (resumable && iconElement
|
2720
|
+
if (resumable && iconElement.current) {
|
2721
|
+
resumable.assignBrowse(iconElement.current);
|
2722
|
+
console.log('uploadicon');
|
2723
|
+
}
|
2721
2724
|
}, []);
|
2722
2725
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2723
2726
|
className: "upload-icon",
|