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 && (
)}
-
+
))}
>