clean up
This commit is contained in:
@@ -55,12 +55,12 @@ const BookingContext = createContext<{
|
||||
selectedService: StoreProduct | null;
|
||||
locations: Location[] | null;
|
||||
selectedLocationId: number | null;
|
||||
selectedDate?: Date;
|
||||
selectedDate?: Date | null;
|
||||
isLoadingTimeSlots?: boolean;
|
||||
setSelectedService: (selectedService?: StoreProduct) => void;
|
||||
setSelectedService: (selectedService: StoreProduct | null) => void;
|
||||
setSelectedLocationId: (selectedLocationId: number | null) => void;
|
||||
updateTimeSlots: (serviceId: number) => Promise<void>;
|
||||
setSelectedDate: (selectedDate?: Date) => void;
|
||||
updateTimeSlots: (serviceIds: number[]) => Promise<void>;
|
||||
setSelectedDate: (selectedDate: Date | null) => void;
|
||||
}>({
|
||||
timeSlots: null,
|
||||
selectedService: null,
|
||||
|
||||
Reference in New Issue
Block a user