From 77b87e26e7750a91444cab46c739134deaed724c Mon Sep 17 00:00:00 2001 From: Jeon Eonseok Date: Thu, 1 Aug 2024 23:50:07 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=8C=8C=EC=9D=BC=20=ED=98=95?= =?UTF-8?q?=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ApplyPage/components/FileInput/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/ApplyPage/components/FileInput/index.tsx b/src/views/ApplyPage/components/FileInput/index.tsx index 8316865c..f4d2d786 100644 --- a/src/views/ApplyPage/components/FileInput/index.tsx +++ b/src/views/ApplyPage/components/FileInput/index.tsx @@ -19,7 +19,7 @@ interface FileInputProps { } const LIMIT_SIZE = 1024 ** 2 * 50; // 50MB -const ACCEPTED_FORMATS = '.pdf, .pptx'; +const ACCEPTED_FORMATS = '.pdf'; const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputProps) => { const inputRef = useRef(null); @@ -151,7 +151,7 @@ const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputPr {(uploadPercent !== -1 || !defaultFileName) && ( {uploadPercent < 0 && fileName === '' - ? '50mb 이하 | pdf, pptx' + ? '50mb 이하 | pdf' : isFileUploading ? `업로드 중... ${uploadPercent}/100% 완료` : isFileSending @@ -161,7 +161,7 @@ const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputPr )} {uploadPercent === -1 && defaultFileName && ( - {fileName === 'delete-file' ? '50mb 이하 | pdf, pptx' : defaultFileName} + {fileName === 'delete-file' ? '50mb 이하 | pdf' : defaultFileName} )}