@thecb/components 5.8.1-beta.2 → 5.8.1-beta.3

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": "5.8.1-beta.2",
3
+ "version": "5.8.1-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -31,8 +31,7 @@ const Obligation = ({
31
31
  inactiveLookupValue = ""
32
32
  }) => {
33
33
  const obligation = obligations[0];
34
- console.log("obligation in obligation component", obligation);
35
- const { customAttributes } = obligation;
34
+ const customAttributes = obligation?.customAttributes ?? {};
36
35
  const boxShadowValue =
37
36
  "0px 4px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
38
37
  const activeObligation = (