Skip to content

Commit

Permalink
๐Ÿ› fix image accept
Browse files Browse the repository at this point in the history
  • Loading branch information
w00khyung committed Dec 17, 2023
1 parent 02c0c10 commit 3e98c1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function CertificationDialog({ open, setOpen, challengeId }: Cert
className='hidden'
ref={inputRef}
type='file'
accept='image/*'
accept='image/jpeg, image/png, image/jpg'
onChange={(event) => {
const file = event.target?.files[0]
setSelectedImage(file)
Expand Down

0 comments on commit 3e98c1c

Please sign in to comment.