From 4c241342ac8c8403464ce4913a66430510cb4404 Mon Sep 17 00:00:00 2001 From: yeonddori <126975394+yeonddori@users.noreply.github.com> Date: Thu, 5 Dec 2024 20:14:00 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=ED=95=99=EC=8A=B5=EC=9E=90=EB=A3=8C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95=EC=97=90=EC=84=9C=EB=8A=94=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EA=B4=80=EB=A0=A8=20UI=20=EC=95=88=20=EB=B3=B4?= =?UTF-8?q?=EC=9D=B4=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95=20(#362)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #360 --- .../study/CreateDocumentModal/index.tsx | 112 +++++++++--------- 1 file changed, 55 insertions(+), 57 deletions(-) diff --git a/src/containers/study/CreateDocumentModal/index.tsx b/src/containers/study/CreateDocumentModal/index.tsx index bf5b61f..3dab707 100644 --- a/src/containers/study/CreateDocumentModal/index.tsx +++ b/src/containers/study/CreateDocumentModal/index.tsx @@ -249,49 +249,45 @@ const CreateDocumentModal = ({ isOpen, onClose, categoryData, category }: Docume } value={description} /> - setDocType(v as DocumentType) : () => {}} - > - 이미지 - 파일 - URL 링크 - - - - - - - - setDocType(v as DocumentType) : () => {}} + > + 이미지 + 파일 + URL 링크 + + + + + + + + - - {docList[doctype] && - docList[doctype].map((doc, index) => ( - } - handleClick={category === 'create' ? () => handleRemoveDoc(index) : () => {}} - /> - ))} - + onChange={handleGetDoc.DOCUMENT} + /> + + {docList[doctype] && + docList[doctype].map((doc, index) => ( + } + handleClick={category === 'create' ? () => handleRemoveDoc(index) : () => {}} + /> + ))} + + + )}