react-crud-mobile 1.3.221 → 1.3.222

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.221",
3
+ "version": "1.3.222",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -125,10 +125,9 @@ export default function UIModal({
125
125
  const ModalInner = () => {
126
126
  let Content = () => {
127
127
  if (dialog?.component) {
128
- let Aux = dialog?.component({ crud: dialog.crud, scope: dialog.scope });
128
+ let Aux = dialog?.component;
129
129
 
130
- console.log(Aux);
131
- return <>{Aux}</>;
130
+ return <Aux key={curr.uuid} crud={curr} />;
132
131
  }
133
132
 
134
133
  return (
@@ -140,9 +139,6 @@ export default function UIModal({
140
139
 
141
140
  let content = <Content />;
142
141
 
143
- //v1
144
- console.log(content);
145
-
146
142
  if (original.transient) {
147
143
  return <View style={style('modalSafe')}>{content}</View>;
148
144
  }