@fto-consult/expo-ui 1.0.36 → 1.0.37
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 +1 -1
- package/src/App.js +2 -2
package/package.json
CHANGED
package/src/App.js
CHANGED
|
@@ -23,8 +23,6 @@ import {Provider as AlertProvider} from '$ecomponents/Dialog/confirm/Alert';
|
|
|
23
23
|
|
|
24
24
|
export default function getIndex(options){
|
|
25
25
|
const {App} = defaultObj(options);
|
|
26
|
-
const child = <Index theme={theme}/>;
|
|
27
|
-
const children = typeof App =='function'? App({children:child}) : child;
|
|
28
26
|
return function MainIndexComponent() {
|
|
29
27
|
React.useEffect(()=>{
|
|
30
28
|
return ()=>{}
|
|
@@ -36,6 +34,8 @@ export default function getIndex(options){
|
|
|
36
34
|
},
|
|
37
35
|
theme,
|
|
38
36
|
}),[theme]);
|
|
37
|
+
const child = <Index theme={theme}/>;
|
|
38
|
+
const children = typeof App =='function'? App({children:child}) : child;
|
|
39
39
|
return (
|
|
40
40
|
<GestureHandlerRootView style={{ flex: 1 }}>
|
|
41
41
|
<PaperProvider theme={theme}>
|