From a3b46e522211c54c581cd1b9c79952add764c212 Mon Sep 17 00:00:00 2001 From: rever-tecnologia Date: Mon, 15 Dec 2025 13:46:05 -0300 Subject: [PATCH] debug(chat): adiciona mais logs para debugar clique na lista MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- apps/desktop/src/chat/ChatSessionList.tsx | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/apps/desktop/src/chat/ChatSessionList.tsx b/apps/desktop/src/chat/ChatSessionList.tsx index c98a90b..a1879d6 100644 --- a/apps/desktop/src/chat/ChatSessionList.tsx +++ b/apps/desktop/src/chat/ChatSessionList.tsx @@ -85,13 +85,19 @@ export function ChatSessionList({

) : ( - sortedSessions.map((session) => ( - onSelectSession(session.ticketId, session.ticketRef)} - /> - )) + sortedSessions.map((session) => { + console.log("[ChatSessionList] Sessao:", session) + return ( + { + console.log("[ChatSessionList] Clicando na sessao:", session.ticketId, session.ticketRef) + onSelectSession(session.ticketId, session.ticketRef) + }} + /> + ) + }) )}