From 816ee4afbc8cd31e3a1ea3c72ce73d79264ac9b6 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:21:58 +0530 Subject: [PATCH] remove from error and move button to new line --- .../Lump/sections/mcp/MCPSection.tsx | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx index 8cce12be9..0121fa6de 100644 --- a/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/mcp/MCPSection.tsx @@ -7,7 +7,7 @@ import { WrenchScrewdriverIcon, } from "@heroicons/react/24/outline"; import { MCPServerStatus } from "core"; -import { useContext, useMemo } from "react"; +import { Fragment, useContext, useMemo } from "react"; import { useAuth } from "../../../../../context/Auth"; import { IdeMessengerContext } from "../../../../../context/IdeMessenger"; import { useAppDispatch, useAppSelector } from "../../../../../redux/hooks"; @@ -78,25 +78,28 @@ function MCPServerPreview({ server, serverFromYaml }: MCPServerStatusProps) { className="flex flex-col gap-0.5" > {server.errors.map((error, idx) => ( - - + +
{error.length > 150 ? error.substring(0, 150) + "..." : error} - +
{error.length > 150 && ( )} -
+ ))}