From 7610a978249799b3f2593a22621a1359ad871e21 Mon Sep 17 00:00:00 2001 From: lydiacho <81505421+lydiacho@users.noreply.github.com> Date: Fri, 2 Aug 2024 04:10:09 +0900 Subject: [PATCH 1/3] fix: pdf, pptx -> pdf (#334) --- src/views/ApplyPage/components/FileInput/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/ApplyPage/components/FileInput/index.tsx b/src/views/ApplyPage/components/FileInput/index.tsx index 1e73cf1f..dd562a97 100644 --- a/src/views/ApplyPage/components/FileInput/index.tsx +++ b/src/views/ApplyPage/components/FileInput/index.tsx @@ -18,7 +18,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 [isError, setIsError] = useState(false); @@ -135,7 +135,7 @@ const FileInput = ({ section, id, isReview, disabled, defaultFile }: FileInputPr {(uploadPercent !== -1 || !defaultFileName) && ( {uploadPercent < 0 && fileName === '' - ? '50mb 이하 | pdf, pptx' + ? '50mb 이하 | pdf' : uploadPercent < 100 ? `업로드 중... ${uploadPercent}/100% 완료` : uploadPercent === 100 && fileName === '' From 2791042b4d22dd49e3d367c0aaa60f9f4192c0d9 Mon Sep 17 00:00:00 2001 From: Eonseok Jeon <121864459+eonseok-jeon@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:25:53 +0900 Subject: [PATCH 2/3] =?UTF-8?q?[Chore]=20GNB=20=EC=9D=B4=EB=A6=84=20?= =?UTF-8?q?=EB=A7=88=EC=8A=A4=ED=82=B9=20=EC=B2=98=EB=A6=AC=20(#337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: GNB 이름 마스킹 처리 --- .../components/Layout/components/Header/MenuItem/index.tsx | 5 +++-- src/common/components/Layout/components/Header/index.tsx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/components/Layout/components/Header/MenuItem/index.tsx b/src/common/components/Layout/components/Header/MenuItem/index.tsx index 0565c650..aa2a6193 100644 --- a/src/common/components/Layout/components/Header/MenuItem/index.tsx +++ b/src/common/components/Layout/components/Header/MenuItem/index.tsx @@ -8,12 +8,13 @@ interface MenuItemProps { path?: string; target?: '_blank' | '_self'; amplitudeId?: string; + className?: string; onClick?: () => void; } -const MenuItem = ({ text, path, target, amplitudeId, onClick }: MenuItemProps) => { +const MenuItem = ({ text, path, target, amplitudeId, className, onClick }: MenuItemProps) => { return ( -
  • +
  • {path ? ( { ))} - + )} From 02c02405f902dc5dd3997769d1f65a2ef2741e89 Mon Sep 17 00:00:00 2001 From: Eonseok Jeon <121864459+eonseok-jeon@users.noreply.github.com> Date: Fri, 2 Aug 2024 15:26:10 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[Fix]=20=ED=8C=8C=EC=9D=BC=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=ED=95=84=EC=88=98=20=EC=97=90=EB=9F=AC=EB=A7=8C=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=20(#339)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 에러 메세지 겹치는 에러 해결 * fix: 중복된 키 제거 --- src/views/ApplyPage/components/FileInput/style.css.ts | 2 -- src/views/ApplyPage/components/Info/index.tsx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/ApplyPage/components/FileInput/style.css.ts b/src/views/ApplyPage/components/FileInput/style.css.ts index b90bda0b..0f771f93 100644 --- a/src/views/ApplyPage/components/FileInput/style.css.ts +++ b/src/views/ApplyPage/components/FileInput/style.css.ts @@ -5,8 +5,6 @@ import { theme } from 'styles/theme.css'; export const container = style({ position: 'relative', width: 720, - height: 53, - maxHeight: 53, }); export const fileInput = style({ diff --git a/src/views/ApplyPage/components/Info/index.tsx b/src/views/ApplyPage/components/Info/index.tsx index 2c52a492..225ad8b6 100644 --- a/src/views/ApplyPage/components/Info/index.tsx +++ b/src/views/ApplyPage/components/Info/index.tsx @@ -4,8 +4,8 @@ const Info = ({ value }: { value: string }) => { return (
      - {value?.split('\n').map((text) => ( -
    1. + {value?.split('\n').map((text, idx) => ( +
    2. {text}
    3. ))}