react-crud-mobile 1.3.185 → 1.3.186

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.
@@ -1788,18 +1788,17 @@ function UIElement(props) {
1788
1788
  var ctx = useContext(CrudContext);
1789
1789
  var theme = Utils.nvl(props.theme, ctx == null ? void 0 : ctx.theme);
1790
1790
  var crud = Utils.nvl(props.crud, ctx == null ? void 0 : ctx.crud);
1791
- var _useState = useState(ScopeUtils.create(_extends({
1792
- crud: crud
1793
- }, props, {
1794
- theme: theme
1795
- }))),
1796
- scope = _useState[0];
1797
- var _useState2 = useState(0),
1798
- index = _useState2[0],
1799
- setIndex = _useState2[1];
1800
- var _useState3 = useState(null),
1801
- error = _useState3[0],
1802
- setError = _useState3[1];
1791
+ var scope = ScopeUtils.create(_extends({
1792
+ crud: crud
1793
+ }, props, {
1794
+ theme: theme
1795
+ }));
1796
+ var _useState = useState(0),
1797
+ index = _useState[0],
1798
+ setIndex = _useState[1];
1799
+ var _useState2 = useState(null),
1800
+ error = _useState2[0],
1801
+ setError = _useState2[1];
1803
1802
  scope.compile(props);
1804
1803
  crud = scope.crud;
1805
1804
  var options = scope.getOptions();