fix: add .gif and .svg to dropzone accepted files
This commit is contained in:
parent
7dc53cd272
commit
f359555d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ function OpenImage({ close }: DialogProps) {
|
||||||
|
|
||||||
const { acceptedFiles, getRootProps, getInputProps } = useDropzone({
|
const { acceptedFiles, getRootProps, getInputProps } = useDropzone({
|
||||||
accept: {
|
accept: {
|
||||||
"image/*": [".png", ".jpg", ".jpeg", ".bmp", ".webp", ".tiff"],
|
"image/*": [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".webp", ".tiff", ".svg"],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue