fix: extend bedType to include discription and roomTypeCode
This commit is contained in:
@@ -37,7 +37,7 @@ export default function SectionAccordion({
|
||||
useEffect(() => {
|
||||
if (step === StepEnum.selectBed) {
|
||||
const value = stepData.bedType
|
||||
value && setTitle(value)
|
||||
value && setTitle(value.description)
|
||||
}
|
||||
// If breakfast step, check if an option has been selected
|
||||
if (step === StepEnum.breakfast && stepData.breakfast) {
|
||||
|
||||
Reference in New Issue
Block a user