Skip to content

Commit

Permalink
design: 학습자료 수정 시 모달의 제목을 생성에서 수정으로 변경 (#351)
Browse files Browse the repository at this point in the history
#348

Co-authored-by: llddang <[email protected]>
  • Loading branch information
yeonddori and llddang authored Nov 24, 2024
1 parent 25bf1b9 commit ab1c61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/study/CreateDocumentModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const CreateDocumentModal = ({ isOpen, onClose, categoryData, category }: Docume
isOpen={isOpen}
size="xl"
onClose={handleCloseModal}
title="학습자료 등록"
title={`학습자료 ${category === 'create' ? '생성' : '수정'}`}
subButtonText="취소"
onSubButtonClick={handleCloseModal}
mainButtonText="등록"
Expand Down

0 comments on commit ab1c61f

Please sign in to comment.