import { useRouter } from 'expo-router' import { FAB, List, Surface } from 'react-native-paper' import * as SecureStore from 'expo-secure-store' export default function HistoryScreen() { const router = useRouter() const isLoggedIn = SecureStore.getItem("apiToken") !== null return ( router.navigate('/login')} />} onPress={() => router.navigate('/login')} /> ) }