react-crud-mobile 1.0.622 → 1.0.624

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.
@@ -710,7 +710,9 @@ function UIListRow(props) {
710
710
  var _useState2 = React.useState(0),
711
711
  updateIndex = _useState2[0],
712
712
  setUpdateIndex = _useState2[1];
713
+ var key = scope.key('item');
713
714
  row.update = function () {
715
+ scope.updateIndex = scope.updateIndex + 1;
714
716
  setUpdateIndex(++updateIndex);
715
717
  };
716
718
  if (!original.click) {
@@ -721,7 +723,7 @@ function UIListRow(props) {
721
723
  crud: row.crud,
722
724
  children: props.children
723
725
  })
724
- }, "k-" + index);
726
+ }, key);
725
727
  }
726
728
  return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
727
729
  style: getRowStyle(),
@@ -735,7 +737,7 @@ function UIListRow(props) {
735
737
  crud: row.crud,
736
738
  children: props.children
737
739
  })
738
- }, "k-" + index);
740
+ }, key);
739
741
  };
740
742
  return /*#__PURE__*/jsxRuntime.jsx(ListItem, {});
741
743
  }