@dooherceg/material-react-table 3.2.18 → 3.2.19

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.js CHANGED
@@ -2715,9 +2715,8 @@ const handleUpdateRow = ({ getRowId, setRowsState, }) => {
2715
2715
  });
2716
2716
  return previousRows.map((row, index) => {
2717
2717
  const rowId = getResolvedRowId(row, index, undefined, getRowId);
2718
- return rowId !== undefined && rowById.has(rowId)
2719
- ? rowById.get(rowId)
2720
- : row;
2718
+ const updatedRow = rowId !== undefined ? rowById.get(rowId) : undefined;
2719
+ return updatedRow !== undefined ? Object.assign(Object.assign({}, row), updatedRow) : row;
2721
2720
  });
2722
2721
  });
2723
2722
  };