Skip to content

Commit

Permalink
fix: 포스터 업로드가 정상적으로 이루어지지 않는 문제 수정
Browse files Browse the repository at this point in the history
- useDropzone에서 잘못 입력된 accept 입력 수정
  • Loading branch information
Puterism committed Nov 12, 2024
1 parent 665d390 commit faa362e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const ShowBasicInfoFormContent = ({

const { getRootProps, getInputProps } = useDropzone({
accept: {
'image/jpeg, image/png': [],
'image/jpeg': [],
'image/png': [],
},
maxFiles: MAX_IMAGE_COUNT,
onDrop: onDropImage,
Expand Down

0 comments on commit faa362e

Please sign in to comment.