refactor(files): drop the drop zone's noClick option, which is its default

Keeps useFileManager within the function length limit now that it names noPaste; react-dropzone's noClick defaults to false, so a click still opens the picker.
This commit is contained in:
Maurice
2026-11-26 11:26:35 +01:00
parent 95a0cd2f77
commit de9901d941
@@ -124,7 +124,6 @@ export function useFileManager({ files = [], onUpload, onDelete, onUpdate, place
toast.error(t('files.uploadErrorSize', { max: maxUploadMb }))
}
},
noClick: false,
// Pasting is handled once for the whole panel (handlePaste), with the upload
// permission check; the zone's own paste upload would send each file twice.
noPaste: true,