fix(dropzone): allow only single file drag and drop

This commit is contained in:
Rui Saraiva 2020-09-12 08:25:07 +01:00
parent 018072cb36
commit ee26d42553

View File

@ -182,6 +182,7 @@ const DragAndDrop = ({ onFile, onGenerate, onError }: DragAndDropProps) => {
onDrop,
accept: Object.keys(ACCEPT_MIME_TYPES),
maxSize: ONE_MB,
multiple: false,
})
const onCopy = () => {