react-crud-mobile 1.3.32 → 1.3.33

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.
@@ -1595,18 +1595,17 @@ function UIElement(props) {
1595
1595
  var ctx = React.useContext(CrudContext);
1596
1596
  var theme = reactCrudUtils.Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
1597
1597
  var crud = reactCrudUtils.Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
1598
- var _useState = React.useState(reactCrudUtils.ScopeUtils.create(_extends({
1599
- crud: crud
1600
- }, props, {
1601
- theme: theme
1602
- }))),
1603
- scope = _useState[0];
1604
- var _useState2 = React.useState(0),
1605
- index = _useState2[0],
1606
- setIndex = _useState2[1];
1607
- var _useState3 = React.useState(null),
1608
- error = _useState3[0],
1609
- setError = _useState3[1];
1598
+ var scope = reactCrudUtils.ScopeUtils.create(_extends({
1599
+ crud: crud
1600
+ }, props, {
1601
+ theme: theme
1602
+ }));
1603
+ var _useState = React.useState(0),
1604
+ index = _useState[0],
1605
+ setIndex = _useState[1];
1606
+ var _useState2 = React.useState(null),
1607
+ error = _useState2[0],
1608
+ setError = _useState2[1];
1610
1609
  crud = scope.crud;
1611
1610
  var options = scope.getOptions();
1612
1611
  var original = scope.original;