@thecb/components 11.4.2-beta.0 → 11.4.2-beta.2

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": "11.4.2-beta.0",
3
+ "version": "11.4.2-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -44,7 +44,16 @@ const InactiveControlsModule = ({
44
44
  setDetailedObligation(obligations, config, obligationAssocID);
45
45
  navigateToDetailedObligation(detailsSlug);
46
46
  };
47
- const handleRemoveAccount = () => deleteObligationAssoc(obligationAssocID);
47
+ const handleRemoveAccount = () => {
48
+ const payload = {
49
+ id: obligationAssocID,
50
+ obligationSlug: config?.obligationSlug
51
+ };
52
+ debugger;
53
+ // eslint-disable-next-line no-console
54
+ console.debug("DeleteObligationAssoc (cb-components) payload", payload);
55
+ deleteObligationAssoc(payload);
56
+ };
48
57
  return (
49
58
  <Box
50
59
  padding={isMobile ? "18px 0 0 0" : "0"}