@paro.io/expert-shared-components 1.12.14 → 1.12.15

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.
@@ -46,13 +46,12 @@ const useStyles = (0, core_1.makeStyles)((theme) => ({
46
46
  },
47
47
  }));
48
48
  const InvoiceCard = ({ clientInvoice, createDisputeChatMessage, user, chatMessages, updateClientInvoiceDisputeMutation, documentUploadUrl, downloadDocumentUrl, isInternal = false, isClient = false, bucketName, reactAppUrl }) => {
49
- var _a, _b;
50
49
  const [currentInvoice, setCurrentInvoice] = (0, react_1.useState)(clientInvoice);
51
50
  const classes = useStyles();
52
51
  (0, react_1.useEffect)(() => {
53
52
  setCurrentInvoice(clientInvoice);
54
53
  }, [clientInvoice]);
55
- const disputeId = (_b = (_a = currentInvoice === null || currentInvoice === void 0 ? void 0 : currentInvoice.disputeProjects) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.disputeId;
54
+ const disputeId = currentInvoice === null || currentInvoice === void 0 ? void 0 : currentInvoice.disputeId;
56
55
  return (react_1.default.createElement(base_ui_1.Card, { className: "w-full bg-white rounded-lg shadow-sm overflow-hidden mb-4" },
57
56
  react_1.default.createElement(core_1.Accordion, null,
58
57
  react_1.default.createElement(core_1.AccordionSummary, { expandIcon: react_1.default.createElement(base_icons_1.IconChevronDown, null), "aria-controls": "invoice-content", id: "invoice-header", className: classes.accordionSummary },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paro.io/expert-shared-components",
3
- "version": "1.12.14",
3
+ "version": "1.12.15",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {