ywana-core8 0.0.385 → 0.0.386
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.modern.js
CHANGED
@@ -2754,11 +2754,10 @@ var UploadArea = function UploadArea(props) {
|
|
2754
2754
|
setDrag = _useState[1];
|
2755
2755
|
|
2756
2756
|
useEffect(function () {
|
2757
|
-
if (resumable && areaElement) {
|
2757
|
+
if (resumable && areaElement.current) {
|
2758
2758
|
resumable.assignDrop(areaElement.current);
|
2759
|
-
resumable.assignBrowse(areaElement.current);
|
2760
2759
|
}
|
2761
|
-
}, []);
|
2760
|
+
}, [areaElement]);
|
2762
2761
|
|
2763
2762
|
var onDragOver = function onDragOver() {
|
2764
2763
|
setDrag(true);
|