@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.esm.js CHANGED
@@ -46525,7 +46525,7 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
46525
46525
  var maxAmount = !maximum || itemAmount < maximum ? itemAmount : maximum;
46526
46526
  var maxAmountError = "There is a maximum payment of ".concat(displayCurrency(maxAmount));
46527
46527
  console.log("max amount in form is", maxAmount);
46528
- errorMessages[numberLessThanOrEqualTo.error] = maxAmountError;
46528
+ return _objectSpread2(_objectSpread2({}, errorMessages), {}, _defineProperty({}, numberLessThanOrEqualTo.error, maxAmountError));
46529
46529
  }
46530
46530
 
46531
46531
  console.log("error messages are", errorMessages);