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.modern.js
CHANGED
@@ -2714,7 +2714,10 @@ var UploadIcon = function UploadIcon(_ref) {
|
|
2714
2714
|
resumable = _ref.resumable;
|
2715
2715
|
var iconElement = useRef();
|
2716
2716
|
useEffect(function () {
|
2717
|
-
if (resumable && iconElement
|
2717
|
+
if (resumable && iconElement.current) {
|
2718
|
+
resumable.assignBrowse(iconElement.current);
|
2719
|
+
console.log('uploadicon');
|
2720
|
+
}
|
2718
2721
|
}, []);
|
2719
2722
|
return /*#__PURE__*/React.createElement("div", {
|
2720
2723
|
className: "upload-icon",
|