react-crud-mobile 1.3.276 → 1.3.277

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.276",
3
+ "version": "1.3.277",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -711,10 +711,6 @@ export default function UIElement(props: ElementType) {
711
711
  main.dialog = next;
712
712
  scope.currentDialog = next;
713
713
 
714
- if (main.dialog?.crud?.scope) {
715
- main.dialog?.crud.scope.update();
716
- }
717
-
718
714
  if (current?.scope) {
719
715
  const close = current.close;
720
716
 
@@ -726,7 +722,7 @@ export default function UIElement(props: ElementType) {
726
722
  }
727
723
  }
728
724
 
729
- if (next.scope.update()) {
725
+ if (next?.scope) {
730
726
  next.scope.update();
731
727
  }
732
728
  };