mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
not relying on loaded event
This commit is contained in:
parent
12a74fa454
commit
0f5232c371
@ -4,7 +4,7 @@ import {ContextType} from '../context/ContextType';
|
||||
import {useLocation, useNavigate} from 'react-router-dom';
|
||||
import SplashScreen from 'react-native-splash-screen';
|
||||
|
||||
const CLEAR_TIME = 5000;
|
||||
const CLEAR_TIME = 2000;
|
||||
|
||||
export function useRoot() {
|
||||
const app = useContext(AppContext) as ContextType;
|
||||
|
Loading…
Reference in New Issue
Block a user