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.cjs CHANGED
@@ -2762,11 +2762,10 @@ var UploadArea = function UploadArea(props) {
2762
2762
  setDrag = _useState[1];
2763
2763
 
2764
2764
  React.useEffect(function () {
2765
- if (resumable && areaElement) {
2765
+ if (resumable && areaElement.current) {
2766
2766
  resumable.assignDrop(areaElement.current);
2767
- resumable.assignBrowse(areaElement.current);
2768
2767
  }
2769
- }, []);
2768
+ }, [areaElement]);
2770
2769
 
2771
2770
  var onDragOver = function onDragOver() {
2772
2771
  setDrag(true);