esoftplay 0.0.116-d → 0.0.116-e

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.
@@ -3,7 +3,7 @@
3
3
 
4
4
  import { ChattingFirebase, esp, LibDialog, LibImage, LibNet_status, LibProgress, LibStyle, LibToast, LibUpdaterProperty, LibVersion, LibWorker, LibWorkloop, LibWorkview, UseDeeplink, UserClass, UserHook, UserLoading, UserRoutes, useSafeState, _global } from 'esoftplay';
5
5
  import * as Font from "expo-font";
6
- import React, { useEffect } from "react";
6
+ import React, { useEffect, useLayoutEffect } from "react";
7
7
  import { Platform, View } from "react-native";
8
8
  import { GestureHandlerRootView } from 'react-native-gesture-handler';
9
9
  import Navs from '../../cache/navs';
@@ -54,7 +54,7 @@ export default function UserIndex(props: UserIndexProps): any {
54
54
  UserRoutes.set(currentState)
55
55
  }
56
56
 
57
- useEffect(() => {
57
+ useLayoutEffect(() => {
58
58
  // const timeout = setTimeout(() => {
59
59
  // setLoading(false)
60
60
  // }, 15 * 1000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.116-d",
3
+ "version": "0.0.116-e",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",