Skip to content

Commit ee26d42

Browse files
committed
fix(dropzone): allow only single file drag and drop
1 parent 018072c commit ee26d42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/drag-and-drop/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ const DragAndDrop = ({ onFile, onGenerate, onError }: DragAndDropProps) => {
182182
onDrop,
183183
accept: Object.keys(ACCEPT_MIME_TYPES),
184184
maxSize: ONE_MB,
185+
multiple: false,
185186
})
186187

187188
const onCopy = () => {

0 commit comments

Comments
 (0)