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}
|
onDropAccepted={createCollection}
|
||||||
onDropRejected={closeUploadModal}
|
onDropRejected={closeUploadModal}
|
||||||
noDragEventsBubbling
|
noDragEventsBubbling
|
||||||
accept="image/*, video/*, application/json "
|
accept="image/*, video/*, application/json,"
|
||||||
>
|
>
|
||||||
{({
|
{({
|
||||||
getRootProps,
|
getRootProps,
|
||||||
|
|
|
@ -56,7 +56,7 @@ const CollectionDropZone = ({
|
||||||
onDropAccepted={upload}
|
onDropAccepted={upload}
|
||||||
onDropRejected={closeModal}
|
onDropRejected={closeModal}
|
||||||
noDragEventsBubbling
|
noDragEventsBubbling
|
||||||
accept="image/*, video/*, application/json "
|
accept="image/*, video/*, application/json, "
|
||||||
>
|
>
|
||||||
{({
|
{({
|
||||||
getRootProps,
|
getRootProps,
|
||||||
|
|
Loading…
Add table
Reference in a new issue