Feat/SW-1451 country page filtering and sorting * feat(SW-1451): implemented sorting and filtering on country pages * feat(SW-1451): Renamed hotel-data to destination-data because of its multi-purpose use * feat(SW-1451): Now filtering after change of url instead of inside the store after submit Approved-by: Fredrik Thorsson
7 lines
207 B
TypeScript
7 lines
207 B
TypeScript
import { createContext } from "react"
|
|
|
|
import type { DestinationDataStore } from "@/types/contexts/destination-data"
|
|
|
|
export const DestinationDataContext =
|
|
createContext<DestinationDataStore | null>(null)
|