Skip to content

Commit

Permalink
fix: 분반 null 표시 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwak-Seungju committed Sep 25, 2024
1 parent 939f20a commit 19067e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/TimetablePage/components/CustomLecture/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function CustomLecture({ frameId }: { frameId: string | undefined }) {
if (alreadySelectedLecture) {
showToast(
'error',
`${alreadySelectedLecture.class_title}(${alreadySelectedLecture.lecture_class}) 강의가 중복되어 추가할 수 없습니다.`,
`${alreadySelectedLecture.class_title} ${alreadySelectedLecture.lecture_class ? `(${alreadySelectedLecture.lecture_class})` : ''} 강의가 중복되어 추가할 수 없습니다.`,
);
return;
}
Expand Down

0 comments on commit 19067e8

Please sign in to comment.