@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "10.1.3-beta.0",
3
+ "version": "10.1.3-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -52,8 +52,8 @@ const AutopayModal = ({
52
52
  : titleCaseString(activateText),
53
53
  modalBodyText: autoPayActive
54
54
  ? `Are you sure you want to stop ${plan}? ${
55
- !inactive && nextDate
56
- ? `Your next payment will be due on ${nextDate}.`
55
+ !inactive && nextDate && nextDate !== "On"
56
+ ? "Your next payment will be due on " + nextDate + "."
57
57
  : ""
58
58
  }`
59
59
  : generateMethodNeededText(plan, allowedPaymentInstruments),