feat(sw-697): Added default values
This commit is contained in:
@@ -37,8 +37,8 @@ export default function RateSummary({
|
||||
(pkg) => pkg.code === RoomPackageCodeEnum.PET_ROOM
|
||||
)
|
||||
|
||||
const petRoomPrice = petRoomPackage?.localPrice?.totalPrice ?? null
|
||||
const petRoomCurrency = petRoomPackage?.localPrice?.currency ?? null
|
||||
const petRoomPrice = petRoomPackage?.localPrice.totalPrice ?? null
|
||||
const petRoomCurrency = petRoomPackage?.localPrice.currency ?? null
|
||||
|
||||
const checkInDate = new Date(roomsAvailability.checkInDate)
|
||||
const checkOutDate = new Date(roomsAvailability.checkOutDate)
|
||||
|
||||
Reference in New Issue
Block a user