Add mock AI provider and AI integration tests; fix sign-in transition and card flip
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
74a98ac1f1
commit
75158c4449
8 changed files with 720 additions and 33 deletions
|
|
@ -304,8 +304,8 @@ function useLogout() {
|
|||
try {
|
||||
await api.post('/api/auth/logout');
|
||||
} finally {
|
||||
qc.clear();
|
||||
await qc.invalidateQueries({ queryKey: qk.auth });
|
||||
qc.setQueryData(qk.auth, { configured: true, authenticated: false });
|
||||
qc.removeQueries({ predicate: (q) => q.queryKey[0] !== 'auth' });
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue