We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72300fc commit 73bb5d0Copy full SHA for 73bb5d0
frontend/src/Components/ClassLayout.tsx
@@ -133,9 +133,7 @@ function ClassInfoCard({
133
<div className="space-y-2">
134
<h3 className="body">Class Dates:</h3>
135
<p className="body-small">
136
- {classInfo.start_dt > getNextOccurrenceDateAsStr()
137
- ? classInfo.start_dt
138
- : textMonthLocalDate(getNextOccurrenceDateAsStr())}
+ {classInfo.start_dt && textMonthLocalDate(classInfo.end_dt)}{' '}
139
–{' '}
140
{classInfo.end_dt
141
? textMonthLocalDate(classInfo.end_dt)
0 commit comments