diff --git a/web/app/dashboard/conversations/_components/conversation-list.tsx b/web/app/dashboard/conversations/_components/conversation-list.tsx index 4661fe4..5e9ea02 100644 --- a/web/app/dashboard/conversations/_components/conversation-list.tsx +++ b/web/app/dashboard/conversations/_components/conversation-list.tsx @@ -9,21 +9,6 @@ import { useAgentConversationsStore } from "@/lib/stores/agent-conversations"; import { formatDateTime } from "@/lib/utils"; import { useI18n } from "@/i18n/provider"; -function getStatusVariant(status: number) { - switch (status) { - case IMConversationStatus.AIServing: - return "bg-primary/10 text-primary" - case IMConversationStatus.Pending: - return "bg-amber-500/15 text-amber-800 dark:bg-amber-500/20 dark:text-amber-300" - case IMConversationStatus.Active: - return "bg-emerald-500/15 text-emerald-800 dark:bg-emerald-500/20 dark:text-emerald-300" - case IMConversationStatus.Closed: - return "bg-muted text-muted-foreground" - default: - return "bg-muted text-muted-foreground" - } -} - type ConversationListProps = { onAfterSelect?: () => void } @@ -93,23 +78,16 @@ export function ConversationList({ onAfterSelect }: ConversationListProps) {