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) : () => {}} + /> + ))} + + + )}