@@ -46,14 +46,14 @@ import {
4646 * @returns {React.JSX.Element } - The component.
4747 */
4848function CalendarSingleBooking ( {
49- content,
50- calendarEvents,
51- templateClasses = [ ] ,
52- templateRootStyle = { } ,
53- getTitle,
54- slide,
55- run,
56- } ) {
49+ content,
50+ calendarEvents,
51+ templateClasses = [ ] ,
52+ templateRootStyle = { } ,
53+ getTitle,
54+ slide,
55+ run,
56+ } ) {
5757 const {
5858 title = "" ,
5959 subTitle = null ,
@@ -118,7 +118,7 @@ function CalendarSingleBooking({
118118 to : option . to ,
119119 durationMinutes : option . durationMinutes ,
120120 } ;
121- } )
121+ } ) ,
122122 ) ;
123123 } )
124124 . finally ( ( ) => {
@@ -234,14 +234,14 @@ function CalendarSingleBooking({
234234
235235 const currentEvents = calendarEvents . filter (
236236 ( cal ) =>
237- cal . startTime <= currentTime . unix ( ) && cal . endTime >= currentTime . unix ( )
237+ cal . startTime <= currentTime . unix ( ) && cal . endTime >= currentTime . unix ( ) ,
238238 ) ;
239239
240240 const futureEvents = calendarEvents . filter (
241241 ( el ) =>
242242 ! currentEvents . includes ( el ) &&
243243 el . endTime > dayjs ( ) . unix ( ) &&
244- el . endTime <= dayjs ( ) . endOf ( "day" ) . unix ( )
244+ el . endTime <= dayjs ( ) . endOf ( "day" ) . unix ( ) ,
245245 ) ;
246246
247247 const roomInUse = bookingResult !== null || currentEvents . length > 0 ;
@@ -260,7 +260,7 @@ function CalendarSingleBooking({
260260 return (
261261 < Wrapper
262262 className = { `template-calendar calendar-single-booking ${ templateClasses . join (
263- " "
263+ " " ,
264264 ) }
265265 ${ mediaContain ? "media-contain" : "" } ` }
266266 style = { templateRootStyle }
0 commit comments