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