react-crud-mobile 1.3.277 → 1.3.279

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.277",
3
+ "version": "1.3.279",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -711,10 +711,10 @@ export default function UIElement(props: ElementType) {
711
711
  main.dialog = next;
712
712
  scope.currentDialog = next;
713
713
 
714
- if (current?.scope) {
714
+ if (current) {
715
715
  const close = current.close;
716
716
 
717
- current.scope.update();
717
+ if (current.update) current.update();
718
718
 
719
719
  if (close) {
720
720
  if (close?.debug) console.log('Fechando');
@@ -722,8 +722,8 @@ export default function UIElement(props: ElementType) {
722
722
  }
723
723
  }
724
724
 
725
- if (next?.scope) {
726
- next.scope.update();
725
+ if (next?.update) {
726
+ next.update();
727
727
  }
728
728
  };
729
729