fix(SW-435): Fixed issue with Nordic Swan logo because getLang was not awaited

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-06-03 09:21:59 +00:00
parent f9e838e77a
commit a47b2f46d3

View File

@@ -19,7 +19,7 @@ interface ReviewsSubpageProps {
export default async function ReviewsSubpage({ hotel }: ReviewsSubpageProps) {
const intl = await getIntl()
const lang = getLang()
const lang = await getLang()
const tripAdvisorData = hotel.ratings?.tripAdvisor
if (!tripAdvisorData?.reviews.widgetScriptEmbedUrlIframe) {