diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2023-01-29 17:29:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 17:29:31 +0000 |
commit | 1da95eb1ad9e22dc55ea5360536820470b60c8f4 (patch) | |
tree | 2ec4dbdf5b30243e8f7d0e69cb685be8fabb4708 /src/components | |
parent | Bump fs-extra from 10.1.0 to 11.1.0 (diff) | |
download | ferdium-app-1da95eb1ad9e22dc55ea5360536820470b60c8f4.tar.gz ferdium-app-1da95eb1ad9e22dc55ea5360536820470b60c8f4.tar.zst ferdium-app-1da95eb1ad9e22dc55ea5360536820470b60c8f4.zip |
Bump react-dropzone from 11.7.1 to 14.2.3 (#887)v6.2.5-nightly.0
* Bump react-dropzone from 11.7.1 to 14.2.3
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 11.7.1 to 14.2.3.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v11.7.1...v14.2.3)
---
updated-dependencies:
- dependency-name: react-dropzone
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: André Oliveira <oliveira.andrerodrigues95@gmail.com>
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ui/imageUpload/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/ui/imageUpload/index.tsx b/src/components/ui/imageUpload/index.tsx index 4a2a9b60f..89e2c65a2 100644 --- a/src/components/ui/imageUpload/index.tsx +++ b/src/components/ui/imageUpload/index.tsx | |||
@@ -132,7 +132,11 @@ class ImageUpload extends Component<IProps, IState> { | |||
132 | onDropAccepted={this.onDropAccepted.bind(this)} | 132 | onDropAccepted={this.onDropAccepted.bind(this)} |
133 | onDropRejected={this.onDropRejected.bind(this)} | 133 | onDropRejected={this.onDropRejected.bind(this)} |
134 | multiple={multiple} | 134 | multiple={multiple} |
135 | accept="image/jpeg, image/png, image/svg+xml" | 135 | accept={{ |
136 | 'image/jpeg': ['.jpeg', '.jpg'], | ||
137 | 'image/png': ['.png'], | ||
138 | 'image/svg+xml': ['.svg'], | ||
139 | }} | ||
136 | minSize={0} | 140 | minSize={0} |
137 | maxSize={maxSize} | 141 | maxSize={maxSize} |
138 | maxFiles={maxFiles} | 142 | maxFiles={maxFiles} |