Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/syncblocking-parallel-routes

This commit is contained in:
Joakim Jäderberg
2024-11-20 12:43:41 +01:00
79 changed files with 1001 additions and 603 deletions

View File

@@ -83,10 +83,10 @@ export default async function SummaryPage({
price: availability.publicRate.localPrice.pricePerStay,
currency: availability.publicRate.localPrice.currency,
},
euro: availability.publicRate.requestedPrice
euro: availability.publicRate?.requestedPrice
? {
price: availability.publicRate.requestedPrice.pricePerStay,
currency: availability.publicRate.requestedPrice.currency,
price: availability.publicRate?.requestedPrice.pricePerStay,
currency: availability.publicRate?.requestedPrice.currency,
}
: undefined,
}