From f465c8af28ab67fdfeb9e830475f29bc69720d55 Mon Sep 17 00:00:00 2001 From: Jeon Eonseok Date: Wed, 31 Jul 2024 08:08:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8C=8C=EC=9D=BC=20=EC=A0=84=EC=86=A1?= =?UTF-8?q?=20=EC=A4=91=EC=9D=B4=EB=9D=BC=EB=8A=94=20=EB=AC=B8=EA=B5=AC?= =?UTF-8?q?=EA=B0=80=20=EB=9C=B0=20=EB=95=8C=EB=8F=84=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=20=EB=AA=BB=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=A7=89=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ApplyPage/components/FileInput/index.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/ApplyPage/components/FileInput/index.tsx b/src/views/ApplyPage/components/FileInput/index.tsx index 5ba4170e..3029a67a 100644 --- a/src/views/ApplyPage/components/FileInput/index.tsx +++ b/src/views/ApplyPage/components/FileInput/index.tsx @@ -120,7 +120,12 @@ const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputPr onChange={(e) => handleFileChange(e, id)} ref={inputRef} className={fileInput} - disabled={disabled || isReview || (uploadPercent >= 0 && uploadPercent < 100)} + disabled={ + disabled || + isReview || + (uploadPercent >= 0 && uploadPercent < 100) || + (uploadPercent === 100 && fileName === '') + } />