@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.js CHANGED
@@ -564,7 +564,7 @@ var useDropImage = (params) => {
564
564
  ev.preventDefault();
565
565
  setIsDragOver(false);
566
566
  const file = ev.dataTransfer ? ev.dataTransfer.files[0] : void 0;
567
- if (!file || !file.type.startsWith("image") || !imageFile.current) {
567
+ if (!file || !file.type.startsWith("image")) {
568
568
  return;
569
569
  }
570
570
  imageFile.current = file;