@thecb/components 10.1.3-beta.4 → 10.1.3-beta.5

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.4",
3
+ "version": "10.1.3-beta.5",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -39,7 +39,7 @@ const AutopayModal = ({
39
39
  ? "checking account payment method"
40
40
  : "payment method";
41
41
 
42
- return `To setup ${planText} you must have a saved ${methodRequired} and address. Do you want to save these now?`;
42
+ return `To set up ${planText} you must have a saved ${methodRequired} and address. Do you want to save these now?`;
43
43
  };
44
44
  const plan = isPaymentPlan ? "your payment plan" : "autopay";
45
45
  const shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
@@ -47,7 +47,7 @@ const AutopayModal = ({
47
47
  description
48
48
  )}: ${titleCaseString(subDescription)}`;
49
49
  const activateText = titleCaseString(
50
- `Set Up ${shortPlan} for ${description}: ${subDescription}`
50
+ `Set Up ${shortPlan.toLowerCase()} for ${description}: ${subDescription}`
51
51
  );
52
52
  const nextDate = dueDate || nextAutopayDate;
53
53
  const modalExtraProps = {