Skip to content

Commit

Permalink
Update react/components/Upload/Upload.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Breno Calazans <breno@vtex.com.br>
  • Loading branch information
santosluiz000 and Breno Calazans authored Mar 23, 2021
1 parent c3e8c3d commit eb7fea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/Upload/Upload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const InputUpload = (props: FormRawInputProps) => {
}

const { getInputProps, getRootProps } = useDropzone({
accept: typeAccept ?? '.pdf, image/*',
accept: accept ?? '.pdf, image/*',
maxSize: MAX_SIZE,
multiple: false,
onDrop: onDropImage,
Expand Down

0 comments on commit eb7fea8

Please sign in to comment.