nit
This commit is contained in:
@@ -111,7 +111,8 @@ export function useFileInput({
|
||||
e.stopPropagation();
|
||||
dragCountRef.current = 0;
|
||||
setIsDragging(false);
|
||||
const files = Array.from(e.dataTransfer.files);
|
||||
|
||||
const files = transferFiles(e.dataTransfer);
|
||||
if (files.length > 0) {
|
||||
onFilesRef.current(files);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user