@bbki.ng/components 2.1.29 → 2.1.30

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
@@ -620,7 +620,7 @@ var useDropImage = (params) => {
620
620
  ev.preventDefault();
621
621
  setIsDragOver(false);
622
622
  const file = ev.dataTransfer ? ev.dataTransfer.files[0] : void 0;
623
- if (!file || !file.type.startsWith("image") || !imageFile.current) {
623
+ if (!file || !file.type.startsWith("image")) {
624
624
  return;
625
625
  }
626
626
  imageFile.current = file;