aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2023-01-19 00:49:46 +0000
committerLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2023-01-19 00:49:46 +0000
commita4a9b7a5f5a399a5245dbff145b7aa1a5c362465 (patch)
tree77cff6ff90ceb4022a1366b1f78b5f4eb1a5ca93
parentBump react-dropzone from 11.7.1 to 14.2.3 (diff)
downloadferdium-app-dependabot/npm_and_yarn/react-dropzone-14.2.3.tar.gz
ferdium-app-dependabot/npm_and_yarn/react-dropzone-14.2.3.tar.zst
ferdium-app-dependabot/npm_and_yarn/react-dropzone-14.2.3.zip
fix: lint error on new versiondependabot/npm_and_yarn/react-dropzone-14.2.3
-rw-r--r--src/components/ui/imageUpload/index.tsx6
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}