From 36a7511e576a6b5cadbe97432249fc9c8a0b2f73 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Mon, 27 Jul 2026 23:43:34 +0800 Subject: [PATCH] refactor: remove unused Badge component from ChannelFormBody --- web/app/dashboard/channels/_components/edit.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/app/dashboard/channels/_components/edit.tsx b/web/app/dashboard/channels/_components/edit.tsx index 7877e40..3f0340d 100644 --- a/web/app/dashboard/channels/_components/edit.tsx +++ b/web/app/dashboard/channels/_components/edit.tsx @@ -10,7 +10,6 @@ import { toast } from "sonner" import { getWidgetDemoPath } from "@/components/support-chat/demo-navigation" import { OptionCombobox } from "@/components/option-combobox" import { ProjectDialog } from "@/components/project-dialog" -import { Badge } from "@/components/ui/badge" import { Button } from "@/components/ui/button" import { Field, @@ -553,14 +552,6 @@ function ChannelFormBody({ 该 Agent 尚未发布,AI 不会自动回复。请先在 Agent 配置中发布 Revision。 ) : null} - {selectedAIAgent && isAgentChannelBindable(selectedAIAgent) ? ( -
- - 已发布 - - Revision #{selectedAIAgent.publishedRevisionId} -
- ) : null}