Skip to content

Commit

Permalink
fixup! review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev committed Sep 17, 2024
1 parent e2260c5 commit 5dbaf21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/platform/atoms/event-types/hooks/useEventTypeForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ export const useEventTypeForm = ({
beforeEventBuffer: eventType.beforeEventBuffer,
eventName: eventType.eventName || "",
scheduleName: eventType.scheduleName,
periodDays: eventType.periodDays ?? undefined,
periodDays: eventType.periodDays,
requiresBookerEmailVerification: eventType.requiresBookerEmailVerification,
seatsPerTimeSlot: eventType.seatsPerTimeSlot,
seatsShowAttendees: eventType.seatsShowAttendees,
seatsShowAvailabilityCount: eventType.seatsShowAvailabilityCount,
lockTimeZoneToggleOnBookingPage: eventType.lockTimeZoneToggleOnBookingPage,
locations: eventType.locations || [],
destinationCalendar: eventType.destinationCalendar ?? undefined,
destinationCalendar: eventType.destinationCalendar,
recurringEvent: eventType.recurringEvent || null,
isInstantEvent: eventType.isInstantEvent,
instantMeetingExpiryTimeOffsetInSeconds: eventType.instantMeetingExpiryTimeOffsetInSeconds,
description: eventType.description ?? undefined,
schedule: eventType.schedule ?? undefined,
schedule: eventType.schedule || undefined,
instantMeetingSchedule: eventType.instantMeetingSchedule || undefined,
bookingLimits: eventType.bookingLimits || undefined,
onlyShowFirstAvailableSlot: eventType.onlyShowFirstAvailableSlot || undefined,
Expand Down Expand Up @@ -107,7 +107,7 @@ export const useEventTypeForm = ({
.filter((slug) => slug !== eventType.slug) ?? [],
},
})),
seatsPerTimeSlotEnabled: Boolean(eventType.seatsPerTimeSlot ?? undefined),
seatsPerTimeSlotEnabled: eventType.seatsPerTimeSlot,
rescheduleWithSameRoundRobinHost: eventType.rescheduleWithSameRoundRobinHost,
assignAllTeamMembers: eventType.assignAllTeamMembers,
aiPhoneCallConfig: {
Expand Down

0 comments on commit 5dbaf21

Please sign in to comment.