We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9433afc commit 5743e6eCopy full SHA for 5743e6e
frontend/src/components/agents/mcp/custom-mcp-dialog.tsx
@@ -15,7 +15,7 @@ const API_URL = process.env.NEXT_PUBLIC_BACKEND_URL || '';
15
interface CustomMCPDialogProps {
16
open: boolean;
17
onOpenChange: (open: boolean) => void;
18
- onSave: (config: CustomMCPConfiguration) => Promise<void>;
+ onSave: (config: CustomMCPConfiguration) => void;
19
}
20
21
interface CustomMCPConfiguration {
@@ -145,7 +145,7 @@ export const CustomMCPDialog: React.FC<CustomMCPDialogProps> = ({
145
try {
146
let configToSave: any = { url: configText.trim() };
147
148
- await onSave({
+ onSave({
149
name: serverName,
150
type: serverType,
151
config: configToSave,
0 commit comments