Skip to content

Commit 1f2e791

Browse files
authored
Merge branch 'main' into SST-82-OnCourse-localization-and-custom-logo_rebased
2 parents 0dc8b89 + beb1023 commit 1f2e791

File tree

1 file changed

+1
-1
lines changed
  • client-html/src/js/containers/checkout/utils

1 file changed

+1
-1
lines changed

client-html/src/js/containers/checkout/utils/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ const getInvoiceLinePrices = (item: CheckoutItem, lines: AbstractInvoiceLine[],
406406
};
407407

408408
const validTo = item.type === "membership" ? {
409-
validTo: lines[0]?.membership?.validTo
409+
validTo: targetLine?.membership?.validTo
410410
} : {};
411411

412412
return {

0 commit comments

Comments
 (0)