fix: lint errors introduced in PR#10225 (#10230)

pull/10209/head^2
Syed Ali Shahbaz 2023-07-18 21:28:32 +05:30 committed by GitHub
parent 3d7c32c0d8
commit bb4d587359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -35,9 +35,8 @@ const MeetingTimeInTimezones = ({
endTime,
}: MeetingTimeInTimezonesProps) => {
if (!userTimezone || !attendees.length) return null;
// If attendeeTimezone is unsupported, we fallback to host timezone. Unsupported Attendee timezone can be used due to bad API booking request in the past | backward-compatibility
const attendeeTimezones = attendees.map((attendee) => {
return isSupportedTimeZone(attendee.timeZone) ? attendee.timeZone : userTimezone;
});