@thecb/components 7.11.0-beta.3 → 7.11.0-beta.4

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
@@ -46533,7 +46533,7 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
46533
46533
  var maxAmount = !maximum || itemAmount < maximum ? itemAmount : maximum;
46534
46534
  var maxAmountError = "There is a maximum payment of ".concat(displayCurrency(maxAmount));
46535
46535
  console.log("max amount in form is", maxAmount);
46536
- errorMessages[numberLessThanOrEqualTo.error] = maxAmountError;
46536
+ return _objectSpread2(_objectSpread2({}, errorMessages), {}, _defineProperty({}, numberLessThanOrEqualTo.error, maxAmountError));
46537
46537
  }
46538
46538
 
46539
46539
  console.log("error messages are", errorMessages);