fix: change euro price to user's currency + merge state correctly

This commit is contained in:
Christel Westerberg
2024-12-03 13:59:35 +01:00
parent 4dbdf81090
commit 528107e0ef
4 changed files with 58 additions and 46 deletions

View File

@@ -227,11 +227,11 @@ export default function SummaryUI({
style: "currency",
})}
</Body>
{totalPrice.euro && (
{totalPrice.requested && (
<Caption color="uiTextMediumContrast">
{intl.formatMessage({ id: "Approx." })}{" "}
{intl.formatNumber(totalPrice.euro.price, {
currency: CurrencyEnum.EUR,
{intl.formatNumber(totalPrice.requested.price, {
currency: totalPrice.requested.currency,
style: "currency",
})}
</Caption>