fix: handle login expirary

This commit is contained in:
2026-03-10 12:12:37 -04:00
Unverified
parent 40fc5c1de6
commit 5c7031725c
5 changed files with 121 additions and 30 deletions

View File

@@ -32,8 +32,8 @@ export default function SettingsScreen() {
text: 'Logout',
style: 'destructive',
onPress: async () => {
router.replace('/login');
await logout();
router.replace('/login');
},
},
]);