From a7689405dadf6889960047c99da681483a41bbf0 Mon Sep 17 00:00:00 2001 From: "Chuma Mcphoy (We Ahead)" Date: Fri, 11 Jul 2025 12:20:48 +0000 Subject: [PATCH] Merged in LOY-293-earn-burn-table-headings (pull request #2553) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(LOY-293): update earn and burn table column headings * fix(LOY-293): update earn and burn table column headings Approved-by: Matilda Landström --- .../EarnAndBurn/JourneyTable/ClientTable/index.tsx | 12 +++++++----- .../ExpiringPoints/ExpiringPointsTable/index.tsx | 6 ++++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx index cbe2f7f43..0ee2bb970 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/EarnAndBurn/JourneyTable/ClientTable/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import Body from "@scandic-hotels/design-system/Body" +import { Typography } from "@scandic-hotels/design-system/Typography" import Table from "@/components/TempDesignSystem/Table" @@ -20,13 +20,13 @@ export default function ClientTable({ transactions }: ClientTableProps) { defaultMessage: "Points", }), intl.formatMessage({ - defaultMessage: "Description", + defaultMessage: "Stay description", }), intl.formatMessage({ - defaultMessage: "Booking number", + defaultMessage: "Booking number / Reference", }), intl.formatMessage({ - defaultMessage: "Arrival date", + defaultMessage: "Date", }), ] @@ -37,7 +37,9 @@ export default function ClientTable({ transactions }: ClientTableProps) { {tableHeadings.map((heading) => ( - {heading} + +

{heading}

+
))}
diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx index c885f2d05..a30d2a5aa 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Points/ExpiringPoints/ExpiringPointsTable/index.tsx @@ -3,7 +3,7 @@ import { useIntl } from "react-intl" import { dt } from "@scandic-hotels/common/dt" -import Body from "@scandic-hotels/design-system/Body" +import { Typography } from "@scandic-hotels/design-system/Typography" import Table from "@/components/TempDesignSystem/Table" import useLang from "@/hooks/useLang" @@ -36,7 +36,9 @@ export default function ExpiringPointsTable({ {tableHeadings.map((heading) => ( - {heading} + +

{heading}

+
))}