mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-14 11:06:21 +05:00
fix(dropzone): allow only single file drag and drop
This commit is contained in:
parent
018072cb36
commit
ee26d42553
@ -182,6 +182,7 @@ const DragAndDrop = ({ onFile, onGenerate, onError }: DragAndDropProps) => {
|
||||
onDrop,
|
||||
accept: Object.keys(ACCEPT_MIME_TYPES),
|
||||
maxSize: ONE_MB,
|
||||
multiple: false,
|
||||
})
|
||||
|
||||
const onCopy = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user