From cb944b51e68bdefd6772491905dd852b24356ad3 Mon Sep 17 00:00:00 2001 From: Yingjie He Date: Thu, 17 Apr 2025 11:07:32 -0700 Subject: [PATCH] fix: update the extension section border (#2243) --- .../extensions/ExtensionsSection.tsx | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx b/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx index c3b38e4e..3aea58f6 100644 --- a/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx +++ b/ui/desktop/src/components/settings_v2/extensions/ExtensionsSection.tsx @@ -20,7 +20,6 @@ interface ExtensionSectionProps { deepLinkConfig?: ExtensionConfig; showEnvVars?: boolean; hideButtons?: boolean; - hideHeader?: boolean; disableConfiguration?: boolean; customToggle?: (extension: FixedExtensionEntry) => Promise; selectedExtensions?: string[]; // Add controlled state @@ -30,7 +29,6 @@ export default function ExtensionsSection({ deepLinkConfig, showEnvVars, hideButtons, - hideHeader, disableConfiguration, customToggle, selectedExtensions = [], @@ -186,21 +184,17 @@ export default function ExtensionsSection({ return (
- {!hideHeader && ( - <> -
-

Extensions

-
-
-

- These extensions use the Model Context Protocol (MCP). They can expand Goose's - capabilities using three main components: Prompts, Resources, and Tools. -

-
- - )} +
+

Extensions

+
+
+

+ These extensions use the Model Context Protocol (MCP). They can expand Goose's + capabilities using three main components: Prompts, Resources, and Tools. +

+
-
+