debug(chat): adiciona mais logs para debugar clique na lista

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rever-tecnologia 2025-12-15 13:46:05 -03:00
parent ca59b6ed92
commit a3b46e5222

View file

@ -85,13 +85,19 @@ export function ChatSessionList({
</p>
</div>
) : (
sortedSessions.map((session) => (
<ChatSessionItem
key={session.ticketId}
session={session}
onClick={() => onSelectSession(session.ticketId, session.ticketRef)}
/>
))
sortedSessions.map((session) => {
console.log("[ChatSessionList] Sessao:", session)
return (
<ChatSessionItem
key={session.ticketId}
session={session}
onClick={() => {
console.log("[ChatSessionList] Clicando na sessao:", session.ticketId, session.ticketRef)
onSelectSession(session.ticketId, session.ticketRef)
}}
/>
)
})
)}
</div>
</div>