File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 1- import { Alert , AlertDescription , AlertTitle } from "@/components/ui/alert" ;
1+ import { Alert , AlertDescription } from "@/components/ui/alert" ;
22import { Button } from "@/components/ui/button" ;
33import { Checkbox } from "@/components/ui/checkbox" ;
44import { Input } from "@/components/ui/input" ;
@@ -13,7 +13,7 @@ import {
1313 ListToolsResult ,
1414 Tool ,
1515} from "@modelcontextprotocol/sdk/types.js" ;
16- import { AlertCircle , Send } from "lucide-react" ;
16+ import { Send } from "lucide-react" ;
1717import { useEffect , useState } from "react" ;
1818import ListPane from "./ListPane" ;
1919import JsonView from "./JsonView" ;
@@ -27,7 +27,6 @@ const ToolsTab = ({
2727 setSelectedTool,
2828 toolResult,
2929 nextCursor,
30- error,
3130} : {
3231 tools : Tool [ ] ;
3332 listTools : ( ) => void ;
@@ -251,13 +250,6 @@ const ToolsTab = ({
251250 Run Tool
252251 </ Button >
253252 { toolResult && renderToolResult ( ) }
254- { error && (
255- < Alert variant = "destructive" >
256- < AlertCircle className = "h-4 w-4" />
257- < AlertTitle > Error</ AlertTitle >
258- < AlertDescription > { error } </ AlertDescription >
259- </ Alert >
260- ) }
261253 </ div >
262254 ) : (
263255 < Alert >
You can’t perform that action at this time.
0 commit comments