import React from 'react'; import {NavigationContainer} from '@react-navigation/native'; import { createNativeStackNavigator, NativeStackNavigationProp, } from '@react-navigation/native-stack'; import {useNavigation} from '@react-navigation/native'; import SendLocation from './src/screens/SendLocation.tsx'; import CameraScreen from './src/screens/CameraScreen.tsx'; import LoginScreen from './src/screens/LoginScreen.tsx'; import AgreementScreen from './src/screens/AgreementScreen.tsx'; import AnalysisScreen from './src/screens/AnalysisScreen.tsx'; import {verifyTokens} from './src/utils/loginUtils.ts'; import {RootStackParam} from './src/utils/RootStackParam.ts'; const Stack = createNativeStackNavigator(); const RootNavigator = () => { const navigation = useNavigation>(); React.useEffect(() => { const checkTokens = async () => { await verifyTokens(navigation); }; checkTokens(); }, [navigation]); return ( ); }; export default function App() { return ( ); }