fix(chat-widget): corrige referência a chatData não definida

🤖 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 14:11:14 -03:00
parent d97e692756
commit 05bc1cb7b4

View file

@ -729,7 +729,7 @@ export function ChatWidget() {
<div>
<div className="flex items-center gap-2">
<p className="text-sm font-semibold text-slate-900">
#{activeSession?.ticketRef ?? chatData?.ticketId?.slice(-4)}
#{activeSession?.ticketRef ?? activeTicketId?.slice(-4)}
</p>
{/* Indicador online/offline */}
{liveChat?.hasMachine && (