Reveret merchantInformationData fix

This commit is contained in:
Pontus Dreij
2024-12-13 14:36:13 +01:00
parent be33837b55
commit 07a7dc9366
3 changed files with 5 additions and 8 deletions

View File

@@ -216,11 +216,10 @@ 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}
/>