feat: contain logic for selecting price at the top level instead of on individual room card

This commit is contained in:
Joakim Jäderberg
2024-11-20 11:25:11 +01:00
parent dfdbdb7621
commit d32a595e2e
9 changed files with 63 additions and 106 deletions

View File

@@ -54,7 +54,13 @@ export default function FlexibilityOption({
member: memberPrice,
features: petRoomPackage ? features : [],
}
handleSelectRate(rate)
console.log("Rate", rate)
handleSelectRate({
publicRateCode: publicPrice.rateCode,
roomTypeCode: roomTypeCode,
})
}
return (