web: fix auth session races, ws token drift, and unread clear behavior
Some checks failed
CI / test (push) Failing after 2m20s

This commit is contained in:
Codex
2026-03-09 02:17:14 +03:00
parent 4fa657ff7a
commit ad2e0ede42
6 changed files with 96 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ export function ChatsPage() {
useEffect(() => {
if (activeChatId) {
void loadMessages(activeChatId);
void loadMessages(activeChatId, { markRead: true });
}
}, [activeChatId, loadMessages]);