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.umd.js CHANGED
@@ -2757,11 +2757,10 @@
2757
2757
  setDrag = _useState[1];
2758
2758
 
2759
2759
  React.useEffect(function () {
2760
- if (resumable && areaElement) {
2760
+ if (resumable && areaElement.current) {
2761
2761
  resumable.assignDrop(areaElement.current);
2762
- resumable.assignBrowse(areaElement.current);
2763
2762
  }
2764
- }, []);
2763
+ }, [areaElement]);
2765
2764
 
2766
2765
  var onDragOver = function onDragOver() {
2767
2766
  setDrag(true);