From a47b2f46d38a33960b352307ba4631ba9542d9e5 Mon Sep 17 00:00:00 2001 From: Erik Tiekstra Date: Tue, 3 Jun 2025 09:21:59 +0000 Subject: [PATCH] fix(SW-435): Fixed issue with Nordic Swan logo because getLang was not awaited Approved-by: Linus Flood --- .../ContentType/HotelSubpage/ReviewsSubpage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scandic-web/components/ContentType/HotelSubpage/ReviewsSubpage/index.tsx b/apps/scandic-web/components/ContentType/HotelSubpage/ReviewsSubpage/index.tsx index fc0af3857..8761d9aac 100644 --- a/apps/scandic-web/components/ContentType/HotelSubpage/ReviewsSubpage/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelSubpage/ReviewsSubpage/index.tsx @@ -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) {