From 26a0bda6db371df89891482d731daef6ee2e2815 Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Tue, 18 Feb 2025 08:55:37 +0000 Subject: [PATCH] Merged in fix/breakfast-card (pull request #1352) fix: showing "undefined" if ancillary.price.text was undefined * fix: showing "undefined" if ancillary.price.text was undefined Approved-by: Tobias Johansson --- components/TempDesignSystem/AncillaryCard/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/TempDesignSystem/AncillaryCard/index.tsx b/components/TempDesignSystem/AncillaryCard/index.tsx index c2bcc68df..eed75ada7 100644 --- a/components/TempDesignSystem/AncillaryCard/index.tsx +++ b/components/TempDesignSystem/AncillaryCard/index.tsx @@ -38,7 +38,7 @@ export function AncillaryCard({ ancillary }: AncillaryCardProps) { intl, ancillary.price.total, ancillary.price.currency - )} ${ancillary.price.text}`} + )} ${ancillary.price.text ?? ""}`} {ancillary.points && (