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> </p>
</div> </div>
) : ( ) : (
sortedSessions.map((session) => ( sortedSessions.map((session) => {
<ChatSessionItem console.log("[ChatSessionList] Sessao:", session)
key={session.ticketId} return (
session={session} <ChatSessionItem
onClick={() => onSelectSession(session.ticketId, session.ticketRef)} key={session.ticketId}
/> session={session}
)) onClick={() => {
console.log("[ChatSessionList] Clicando na sessao:", session.ticketId, session.ticketRef)
onSelectSession(session.ticketId, session.ticketRef)
}}
/>
)
})
)} )}
</div> </div>
</div> </div>