feat(SW-750): refactor types

This commit is contained in:
Fredrik Thorsson
2024-11-18 13:43:34 +01:00
parent 9344db7876
commit fc27339aff
3 changed files with 9 additions and 15 deletions

View File

@@ -1,12 +1,6 @@
import type { Hotel, HotelAddress } from "@/types/hotel"
import type { AboutTheHotelSidePeekProps } from "./aboutTheHotel"
export type ContactInformationProps = {
adress: HotelAddress
coordinates: {
lat: number
lng: number
}
contact: Hotel["contactInformation"]
socials: Hotel["socialMedia"]
ecoLabels: Hotel["hotelFacts"]["ecoLabels"]
}
export type ContactInformationProps = Omit<
AboutTheHotelSidePeekProps,
"descriptions"
>