react-crud-mobile 1.0.753 → 1.0.754

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.
@@ -844,14 +844,14 @@ function UIList(props) {
844
844
  return row;
845
845
  };
846
846
  var LocalData = function LocalData() {
847
- var _useState = React.useState(0),
847
+ var _useState = React.useState(scope.updateIndex),
848
848
  index = _useState[0],
849
849
  setIndex = _useState[1];
850
850
  scope.update = function () {
851
851
  scope.updateIndex = ++index;
852
852
  setIndex(index);
853
853
  };
854
- var keyData = scope.key('data', index);
854
+ var keyData = scope.key('data');
855
855
  var items = reactCrudUtils.Utils.call(function () {
856
856
  var _original$list;
857
857
  var list = reactCrudUtils.Utils.nvl(scope.getItems(), []);