diff --git a/app/(route)/challenge/[id]/_components/certification-dialog.tsx b/app/(route)/challenge/[id]/_components/certification-dialog.tsx index e83cfab..83d2110 100644 --- a/app/(route)/challenge/[id]/_components/certification-dialog.tsx +++ b/app/(route)/challenge/[id]/_components/certification-dialog.tsx @@ -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)