Skip to content

Commit

Permalink
πŸ’„ κ°•μ˜μ‹€μ΄ μ—†λŠ” 경우 쀑앙정렬 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 authored Nov 25, 2023
1 parent d774a52 commit 22fce03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/friends-react-native/src/app/components/Timetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const Timetable = memo(({ timetable, style, palette }: Props) => {
</Typography>
{currentDayClasses.map((c) => {
const { bg, fg } = timetableViewService.getLessonColor(c.lesson, palette);
const place = c.place.trim();
return (
<View
key={`${c.day} ${c.startMinute} ${c.endMinute}`}
Expand All @@ -47,7 +48,7 @@ export const Timetable = memo(({ timetable, style, palette }: Props) => {
}}
>
<Typography style={{ ...styles.classTitle, color: fg }}>{c.lesson.courseTitle}</Typography>
<Typography style={{ ...styles.classPlace, color: fg }}>{c.place}</Typography>
{place && <Typography style={{ ...styles.classPlace, color: fg }}>{place}</Typography>}
</View>
);
})}
Expand Down

0 comments on commit 22fce03

Please sign in to comment.