fixed bug dropzone rejecting json file

This commit is contained in:
Abhinav-grd 2021-01-15 12:09:32 +05:30
parent 8e2b37fa78
commit 40f27d0d17

View file

@ -59,8 +59,8 @@ const CollectionDropZone = ({
onDropAccepted={upload}
onDragOver={showModal}
onDropRejected={closeModal}
noDragEventsBubbling={noDragEventsBubbling}
accept="image/*, video/*, application/json "
noDragEventsBubbling
accept="image/*, video/*, application/json, "
>
{({
getRootProps,