diff --git a/js/desktop/src/hooks/use-file-input.ts b/js/desktop/src/hooks/use-file-input.ts index bb4ff4c..7a5cd87 100644 --- a/js/desktop/src/hooks/use-file-input.ts +++ b/js/desktop/src/hooks/use-file-input.ts @@ -111,7 +111,7 @@ export function useFileInput({ e.stopPropagation(); dragCountRef.current = 0; setIsDragging(false); - + const files = transferFiles(e.dataTransfer); if (files.length > 0) { onFilesRef.current(files);