refactor(SW-302): update naming
This commit is contained in:
@@ -41,7 +41,7 @@ import {
|
||||
TWENTYFOUR_HOURS,
|
||||
} from "./utils"
|
||||
|
||||
import { facilityEnum } from "@/types/components/hotelPage/facilities"
|
||||
import { FacilityEnum } from "@/types/components/hotelPage/facilities"
|
||||
import { AvailabilityEnum } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
||||
import type { RequestOptionsWithOutBody } from "@/types/fetch"
|
||||
import type { GetHotelPageData } from "@/types/trpc/routers/contentstack/hotelPage"
|
||||
@@ -216,15 +216,15 @@ export const hotelQueryRouter = router({
|
||||
const facilities: Array<Facility> = [
|
||||
{
|
||||
...apiJson.data.attributes.restaurantImages,
|
||||
id: facilityEnum.restaurant,
|
||||
id: FacilityEnum.restaurant,
|
||||
},
|
||||
{
|
||||
...apiJson.data.attributes.conferencesAndMeetings,
|
||||
id: facilityEnum.conference,
|
||||
id: FacilityEnum.conference,
|
||||
},
|
||||
{
|
||||
...apiJson.data.attributes.healthAndWellness,
|
||||
id: facilityEnum.wellness,
|
||||
id: FacilityEnum.wellness,
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user