fixed bug dropzone rejecting json file
This commit is contained in:
parent
eb7cd41e00
commit
36b4eab2f0
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ export default function AddCollection(props) {
|
|||
onDropAccepted={createCollection}
|
||||
onDropRejected={closeUploadModal}
|
||||
noDragEventsBubbling
|
||||
accept="image/*, video/*, application/json "
|
||||
accept="image/*, video/*, application/json,"
|
||||
>
|
||||
{({
|
||||
getRootProps,
|
||||
|
|
|
@ -56,7 +56,7 @@ const CollectionDropZone = ({
|
|||
onDropAccepted={upload}
|
||||
onDropRejected={closeModal}
|
||||
noDragEventsBubbling
|
||||
accept="image/*, video/*, application/json "
|
||||
accept="image/*, video/*, application/json, "
|
||||
>
|
||||
{({
|
||||
getRootProps,
|
||||
|
|
Loading…
Add table
Reference in a new issue