@thecb/components 10.1.3-beta.0 → 10.1.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -46529,7 +46529,7 @@ var AutopayModal = function AutopayModal(_ref) {
46529
46529
  var nextDate = dueDate || nextAutopayDate;
46530
46530
  var modalExtraProps = {
46531
46531
  modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
46532
- modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
46532
+ modalBodyText: autoPayActive ? "Are you sure you want to stop ".concat(plan, "? ").concat(!inactive && nextDate && nextDate !== "On" ? "Your next payment will be due on " + nextDate + "." : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
46533
46533
  continueButtonText: autoPayActive ? "Stop ".concat(shortPlan) : "Add",
46534
46534
  useDangerButton: autoPayActive,
46535
46535
  continueAction: autoPayActive ? function () {