diff --git a/js/mobile/src/stores/auth-store.ts b/js/mobile/src/stores/auth-store.ts index 6901fb1..cced9da 100644 --- a/js/mobile/src/stores/auth-store.ts +++ b/js/mobile/src/stores/auth-store.ts @@ -172,6 +172,8 @@ export const useAuthStore = create((set, get) => ({ apiClient.setToken(null); await clearPersistedToken(); set({ status: "unauthenticated", user: null, token: null }); + + await unregisterPushToken(); // Best-effort }, clearError: () => set({ error: null }),