From 106e2497df15a769fe379e7fee85e0d6fe054605 Mon Sep 17 00:00:00 2001 From: "A.Shakhmatov" Date: Wed, 11 Feb 2026 21:42:34 +0300 Subject: [PATCH] fix: remove duplicate environment badges from toolbar SelectValue already renders the badge from the selected item content, so the explicit badge in the trigger and the standalone toolbar badge were redundant. Co-Authored-By: Claude Opus 4.6 --- src/components/connections/ConnectionSelector.tsx | 1 - src/components/layout/Toolbar.tsx | 8 -------- 2 files changed, 9 deletions(-) diff --git a/src/components/connections/ConnectionSelector.tsx b/src/components/connections/ConnectionSelector.tsx index 271bdcc..6462b07 100644 --- a/src/components/connections/ConnectionSelector.tsx +++ b/src/components/connections/ConnectionSelector.tsx @@ -38,7 +38,6 @@ export function ConnectionSelector() { /> )} - diff --git a/src/components/layout/Toolbar.tsx b/src/components/layout/Toolbar.tsx index aae2657..1a46083 100644 --- a/src/components/layout/Toolbar.tsx +++ b/src/components/layout/Toolbar.tsx @@ -10,7 +10,6 @@ import { useConnections } from "@/hooks/use-connections"; import { Database, Plus } from "lucide-react"; import type { ConnectionConfig, Tab } from "@/types"; import { getEnvironment } from "@/lib/environment"; -import { EnvironmentBadge } from "@/components/connections/EnvironmentBadge"; export function Toolbar() { const [listOpen, setListOpen] = useState(false); @@ -58,13 +57,6 @@ export function Toolbar() { - {activeConn?.environment && ( - <> - - - - )} -