Fix: Added optional merchantInformationData

This commit is contained in:
Pontus Dreij
2024-12-13 14:03:13 +01:00
parent 78bf7ef387
commit eb2a0a4cb9
4 changed files with 12 additions and 12 deletions

View File

@@ -216,10 +216,11 @@ export default async function StepPage({
roomPrice={roomPrice}
otherPaymentOptions={
hotelData.data.attributes.merchantInformationData
.alternatePaymentOptions
?.alternatePaymentOptions ?? []
}
supportedCards={
hotelData.data.attributes.merchantInformationData.cards
hotelData.data.attributes.merchantInformationData
?.cards ?? []
}
mustBeGuaranteed={mustBeGuaranteed}
/>