From 39250e21e313a2b8595f455ef8b878b8de036a5a Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Fri, 27 Jun 2025 06:52:25 +0000 Subject: [PATCH] Merged in fix/checkout-translation (pull request #2456) Fixed checkout translation * Fixed checkout translation * Added comma Approved-by: Bianca Widstam --- .../BookingConfirmation/Rooms/Room/index.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx index 311337a27..b388e3dc6 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx @@ -145,15 +145,8 @@ export default function Room({ })}

- {intl.formatMessage( - { - defaultMessage: "{checkOutDate} from {checkOutTime}", - }, - { - checkOutDate: toDate.format(longDateFormat[lang]), - checkOutTime: checkOutTime, - } - )} + {/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */} + {`${toDate.format(longDateFormat[lang])}, ${checkOutTime}`}