nielsr HF staff commited on
Commit
d36230e
·
1 Parent(s): 0935f7c

Remove deprecated place

Browse files
src/components/ConferenceCalendar.tsx CHANGED
@@ -105,7 +105,11 @@ const ConferenceCalendar = ({ conferences }: ConferenceCalendarProps) => {
105
  <ul className="mt-2 space-y-1">
106
  {getEventsForMonth(currentMonth).map((event, index) => (
107
  <li key={index} className="text-sm">
108
- {event.title} ({format(event.startDate, 'MMM d')}-{format(event.endDate, 'MMM d')}) - {event.conference.place}
 
 
 
 
109
  </li>
110
  ))}
111
  </ul>
@@ -121,7 +125,11 @@ const ConferenceCalendar = ({ conferences }: ConferenceCalendarProps) => {
121
  <ul className="mt-2 space-y-1">
122
  {getEventsForDate(selectedDate).map((event, index) => (
123
  <li key={index} className="text-sm">
124
- {event.title} - {event.conference.place}
 
 
 
 
125
  </li>
126
  ))}
127
  </ul>
 
105
  <ul className="mt-2 space-y-1">
106
  {getEventsForMonth(currentMonth).map((event, index) => (
107
  <li key={index} className="text-sm">
108
+ {event.title} ({format(event.startDate, 'MMM d')}-{format(event.endDate, 'MMM d')}) - {
109
+ event.conference.venue ||
110
+ [event.conference.city, event.conference.country].filter(Boolean).join(", ") ||
111
+ "Location TBD"
112
+ }
113
  </li>
114
  ))}
115
  </ul>
 
125
  <ul className="mt-2 space-y-1">
126
  {getEventsForDate(selectedDate).map((event, index) => (
127
  <li key={index} className="text-sm">
128
+ {event.title} - {
129
+ event.conference.venue ||
130
+ [event.conference.city, event.conference.country].filter(Boolean).join(", ") ||
131
+ "Location TBD"
132
+ }
133
  </li>
134
  ))}
135
  </ul>
src/components/ConferenceCard.tsx CHANGED
@@ -8,7 +8,6 @@ const ConferenceCard = ({
8
  title,
9
  full_name,
10
  date,
11
- place,
12
  deadline,
13
  timezone,
14
  tags = [],
@@ -136,7 +135,6 @@ const ConferenceCard = ({
136
  title,
137
  full_name,
138
  date,
139
- place,
140
  deadline,
141
  timezone,
142
  tags,
 
8
  title,
9
  full_name,
10
  date,
 
11
  deadline,
12
  timezone,
13
  tags = [],
 
135
  title,
136
  full_name,
137
  date,
 
138
  deadline,
139
  timezone,
140
  tags,