fix: removed unused code
This commit is contained in:
@@ -60,7 +60,6 @@ export default function RoomCard({
|
|||||||
|
|
||||||
const getBreakfastMessage = (rate: RateDefinition | undefined) => {
|
const getBreakfastMessage = (rate: RateDefinition | undefined) => {
|
||||||
const breakfastIncluded = getRateDefinitionForRate(rate)?.breakfastIncluded
|
const breakfastIncluded = getRateDefinitionForRate(rate)?.breakfastIncluded
|
||||||
|
|
||||||
switch (breakfastIncluded) {
|
switch (breakfastIncluded) {
|
||||||
case true:
|
case true:
|
||||||
return intl.formatMessage({ id: "Breakfast is included." })
|
return intl.formatMessage({ id: "Breakfast is included." })
|
||||||
@@ -83,7 +82,6 @@ export default function RoomCard({
|
|||||||
)
|
)
|
||||||
|
|
||||||
const { roomSize, occupancy, images } = selectedRoom || {}
|
const { roomSize, occupancy, images } = selectedRoom || {}
|
||||||
const mainImage = images?.[0]
|
|
||||||
|
|
||||||
const freeCancelation = intl.formatMessage({ id: "Free cancellation" })
|
const freeCancelation = intl.formatMessage({ id: "Free cancellation" })
|
||||||
const nonRefundable = intl.formatMessage({ id: "Non-refundable" })
|
const nonRefundable = intl.formatMessage({ id: "Non-refundable" })
|
||||||
|
|||||||
Reference in New Issue
Block a user