not relying on loaded event

This commit is contained in:
balzack 2025-02-11 07:52:38 -08:00
parent 12a74fa454
commit 0f5232c371

View File

@ -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;