aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/lib/session.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mobile/lib/session.ts')
-rw-r--r--apps/mobile/lib/session.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mobile/lib/session.ts b/apps/mobile/lib/session.ts
index e2ab245b..071748b9 100644
--- a/apps/mobile/lib/session.ts
+++ b/apps/mobile/lib/session.ts
@@ -10,7 +10,7 @@ export function useSession() {
const logout = useCallback(() => {
setSettings({ ...settings, apiKey: undefined });
- }, [settings]);
+ }, [settings, setSettings]);
return {
isLoggedIn,