Merged in fix/confirmation-payment-details-text (pull request #1596)

fix: update Payment Details text

* fix: update Payment Details text


Approved-by: Simon.Emanuelsson
This commit is contained in:
Arvid Norlin
2025-03-24 08:04:25 +00:00
parent efa7336ebd
commit 81b44b357c

View File

@@ -33,12 +33,11 @@ export default function PaymentDetails() {
<div className={styles.payment}> <div className={styles.payment}>
{hasAllRoomsLoaded ? ( {hasAllRoomsLoaded ? (
<Body color="uiTextHighContrast"> <Body color="uiTextHighContrast">
{intl.formatMessage( {`${intl.formatMessage({ id: "Total cost" })}: ${formatPrice(
{ id: "{amount} has been paid" }, intl,
{ grandTotal,
amount: formatPrice(intl, grandTotal, currencyCode), currencyCode
} )}`}
)}
</Body> </Body>
) : ( ) : (
<SkeletonShimmer width={"100%"} /> <SkeletonShimmer width={"100%"} />