Fix code style

This commit is contained in:
Nandha Reddy 2025-07-07 13:53:10 +10:00
commit 236dee0dca
No known key found for this signature in database
GPG key ID: 09ED40FC0F563333

View file

@ -13,7 +13,13 @@ import {
ListToolsResult,
Tool,
} from "@modelcontextprotocol/sdk/types.js";
import { Loader2, Send, ChevronDown, ChevronUp, AlertCircle } from "lucide-react";
import {
Loader2,
Send,
ChevronDown,
ChevronUp,
AlertCircle,
} from "lucide-react";
import { useEffect, useState, useRef } from "react";
import ListPane from "./ListPane";
import JsonView from "./JsonView";
@ -254,9 +260,9 @@ const ToolsTab = ({
<Button
onClick={async () => {
// Validate JSON inputs before calling tool
const hasValidationErrors = Object.values(formRefs.current).some(
(ref) => ref && !ref.validateJson().isValid
);
const hasValidationErrors = Object.values(
formRefs.current,
).some((ref) => ref && !ref.validateJson().isValid);
if (hasValidationErrors) return;
try {