function setDropEffectOnEvent(_ref3) {
  var _current$;
  var event = _ref3.event,
    current = _ref3.current;
  // setting the `dropEffect` to be the innerMost drop targets dropEffect
  var innerMost = (_current$ = current[0]) === null || _current$ === void 0 ? void 0 : _current$.dropEffect;
  if (innerMost != null && event.dataTransfer) {
    event.dataTransfer.dropEffect = innerMost;
  }
}
If there are no drop targets, then we will get
a "drop" event if:
- `preventUnhandled()` is being used
- there is an unmanaged drop target (eg another library)
In these cases, it's up to the consumer
to handle the drop if it's not over one of our drop targets
- `preventUnhandled()` will cancel the "drop"
- unmanaged drop targets can handle the "drop" how they want to
We won't call `event.preventDefault()` in this call path