Scheduling infrastructure for absolutely everyone.
fix: booker atom month reset (#14732)
Lauris Skraucisa7bd4aee856e
diff --git a/packages/features/bookings/Booker/store.ts b/packages/features/bookings/Booker/store.tsindex 2a9e187ee14..fb650cea557 100644--- a/packages/features/bookings/Booker/store.ts+++ b/packages/features/bookings/Booker/store.ts@@ -209,6 +209,10 @@ export const useBookerStore = create<BookerStore>((set, get) => ({},month: getQueryParam("month") || getQueryParam("date") || dayjs().format("YYYY-MM"),setMonth: (month: string | null) => {+ if (!month) {+ removeQueryParam("month");+ return;+ }set({ month, selectedTimeslot: null });updateQueryParam("month", month ?? "");get().setSelectedDate(null);