From 1da95eb1ad9e22dc55ea5360536820470b60c8f4 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 29 Jan 2023 17:29:31 +0000
Subject: Bump react-dropzone from 11.7.1 to 14.2.3 (#887)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* 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>
---
 src/components/ui/imageUpload/index.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/components/ui/imageUpload/index.tsx')

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> {
               onDropAccepted={this.onDropAccepted.bind(this)}
               onDropRejected={this.onDropRejected.bind(this)}
               multiple={multiple}
-              accept="image/jpeg, image/png, image/svg+xml"
+              accept={{
+                'image/jpeg': ['.jpeg', '.jpg'],
+                'image/png': ['.png'],
+                'image/svg+xml': ['.svg'],
+              }}
               minSize={0}
               maxSize={maxSize}
               maxFiles={maxFiles}
-- 
cgit v1.2.3-70-g09d2

