fix(icon): troca BotOff (inexistente no lucide-react) por Bot
BotOff não é exportado pelo lucide-react e gerava "Attempted import error" no build. O indicador de "bot pausado" no ChatListItem agora usa Bot — o title e a cor âmbar já comunicam o estado. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
VolumeX, Star, StarOff, Archive, ArchiveRestore,
|
||||
Trash2, MailOpen, Volume2, PinOff,
|
||||
Mic, FileText, Video, Image as ImageIcon,
|
||||
AlertCircle, BotOff,
|
||||
AlertCircle, Bot,
|
||||
} from 'lucide-react';
|
||||
import type { NewWhatsChat, PresenceState } from '../types/inboxTypes';
|
||||
import {
|
||||
@@ -227,7 +227,7 @@ export default function ChatListItem({
|
||||
<div className="flex items-center gap-2 flex-shrink-0 ml-1">
|
||||
{chat.bot_paused && (
|
||||
<span title="Bot pausado — aguardando atendente">
|
||||
<BotOff className="w-4 h-4 text-amber-500" />
|
||||
<Bot className="w-4 h-4 text-amber-500" />
|
||||
</span>
|
||||
)}
|
||||
{isMuted && <VolumeX className="w-4 h-4 text-[#8696a0]" />}
|
||||
|
||||
Reference in New Issue
Block a user