@thecb/components 4.1.32-beta.0 → 4.1.32-beta.1

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
@@ -34768,9 +34768,9 @@ var EditableList = function EditableList(_ref) {
34768
34768
  toggleModal = _useState2[1];
34769
34769
 
34770
34770
  return /*#__PURE__*/React__default.createElement(EditableListItem, {
34771
- listItemSize: !!item.id && autoPayMethods.some(function (methodID) {
34771
+ listItemSize: !!item.id && (autoPayMethods === null || autoPayMethods === void 0 ? void 0 : autoPayMethods.some(function (methodID) {
34772
34772
  return methodID === item.id;
34773
- }) ? "big" : listItemSize,
34773
+ })) ? "big" : listItemSize,
34774
34774
  key: item.id || item
34775
34775
  }, /*#__PURE__*/React__default.createElement(Text$1, {
34776
34776
  variant: "p",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.1.32-beta.0",
3
+ "version": "4.1.32-beta.1",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -61,7 +61,7 @@ const EditableList = ({
61
61
  <EditableListItem
62
62
  listItemSize={
63
63
  !!item.id &&
64
- autoPayMethods.some(methodID => methodID === item.id)
64
+ autoPayMethods?.some(methodID => methodID === item.id)
65
65
  ? "big"
66
66
  : listItemSize
67
67
  }