Merged in feat/SW-1557-implement-booking-code-select (pull request #1304)
feat: SW-1577 Implemented booking code city search * feat: SW-1577 Implemented booking code city search * feat: SW-1557 Strict comparison * feat: SW-1557 Review comments fix Approved-by: Michael Zetterberg Approved-by: Pontus Dreij
This commit is contained in:
13
stores/bookingCode-filter.ts
Normal file
13
stores/bookingCode-filter.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { create } from "zustand"
|
||||
|
||||
interface BookingCodeFilterState {
|
||||
activeCodeFilter: string
|
||||
setFilter: (filter: string) => void
|
||||
}
|
||||
|
||||
export const useBookingCodeFilterStore = create<BookingCodeFilterState>(
|
||||
(set) => ({
|
||||
activeCodeFilter: "discounted",
|
||||
setFilter: (filter) => set({ activeCodeFilter: filter }),
|
||||
})
|
||||
)
|
||||
Reference in New Issue
Block a user