@7shifts/sous-chef 3.45.4 → 3.45.5

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
@@ -9048,10 +9048,11 @@ var DataTable$1 = function DataTable(_ref) {
9048
9048
  className: classnames(styles$b['data-table__body'], (_classNames3 = {}, _classNames3[styles$b['data-table__body--no-bottom-radius']] = isShowingFooter && isShowingContent, _classNames3)),
9049
9049
  "data-testid": testId
9050
9050
  }, isShowingContent && content.map(function (item, index) {
9051
+ var _item$key;
9051
9052
  return React__default.createElement(RowItem, {
9052
9053
  item: item,
9053
9054
  columns: columns,
9054
- key: index,
9055
+ key: (_item$key = item === null || item === void 0 ? void 0 : item.key) != null ? _item$key : index,
9055
9056
  index: index,
9056
9057
  testId: testId
9057
9058
  });