From 3e98c1c1643ba17b5e55a9cd16fe742f750e803e Mon Sep 17 00:00:00 2001 From: HyungWookChoi Date: Sun, 17 Dec 2023 10:08:49 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20image=20accept?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(route)/challenge/[id]/_components/certification-dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)