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.cjs
CHANGED
@@ -2722,7 +2722,10 @@ var UploadIcon = function UploadIcon(_ref) {
|
|
2722
2722
|
resumable = _ref.resumable;
|
2723
2723
|
var iconElement = React.useRef();
|
2724
2724
|
React.useEffect(function () {
|
2725
|
-
if (resumable && iconElement
|
2725
|
+
if (resumable && iconElement.current) {
|
2726
|
+
resumable.assignBrowse(iconElement.current);
|
2727
|
+
console.log('uploadicon');
|
2728
|
+
}
|
2726
2729
|
}, []);
|
2727
2730
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
2728
2731
|
className: "upload-icon",
|