fix custom mcps saving

This commit is contained in:
Saumya 2025-08-27 02:51:46 +05:30
parent 938f049ac9
commit ca2b146b45
1 changed files with 1 additions and 8 deletions

View File

@ -643,7 +643,7 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
<h4 className="font-medium text-foreground">Connect to {app.name}</h4> <h4 className="font-medium text-foreground">Connect to {app.name}</h4>
<p className="text-xs text-muted-foreground">Choose an existing profile or create a new connection</p> <p className="text-xs text-muted-foreground">Choose an existing profile or create a new connection</p>
</div> </div>
<Button variant="outline" size="sm" onClick={() => setShowToolsManager(!showToolsManager)} type="button"> <Button variant="outline" size="sm" onClick={() => setShowToolsManager(!showToolsManager)}>
{showToolsManager ? 'Hide' : 'View'} Tools {showToolsManager ? 'Hide' : 'View'} Tools
</Button> </Button>
</div> </div>
@ -810,7 +810,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
variant="outline" variant="outline"
onClick={() => onOpenChange(false)} onClick={() => onOpenChange(false)}
className="px-6" className="px-6"
type="button"
> >
Cancel Cancel
</Button> </Button>
@ -824,7 +823,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
}} }}
disabled={!selectedConnectionType || (selectedConnectionType === 'existing' && !selectedProfileId)} disabled={!selectedConnectionType || (selectedConnectionType === 'existing' && !selectedProfileId)}
className="px-8 min-w-[120px]" className="px-8 min-w-[120px]"
type="button"
> >
{selectedConnectionType === 'new' ? ( {selectedConnectionType === 'new' ? (
<> <>
@ -921,7 +919,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
onClick={handleBack} onClick={handleBack}
disabled={isCreating} disabled={isCreating}
className="flex-1" className="flex-1"
type="button"
> >
<ArrowLeft className="h-4 w-4" /> <ArrowLeft className="h-4 w-4" />
Back Back
@ -930,7 +927,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
onClick={handleCreateProfile} onClick={handleCreateProfile}
disabled={isCreating || isLoadingToolkitDetails || !profileName.trim()} disabled={isCreating || isLoadingToolkitDetails || !profileName.trim()}
className="flex-1" className="flex-1"
type="button"
> >
{isCreating ? ( {isCreating ? (
<> <>
@ -987,7 +983,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
<Button <Button
onClick={handleAuthComplete} onClick={handleAuthComplete}
className="w-full" className="w-full"
type="button"
> >
I've Completed Authentication I've Completed Authentication
<ChevronRight className="h-4 w-4" /> <ChevronRight className="h-4 w-4" />
@ -1083,7 +1078,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
<Button <Button
variant="outline" variant="outline"
onClick={handleBack} onClick={handleBack}
type="button"
> >
<ArrowLeft className="h-4 w-4" /> <ArrowLeft className="h-4 w-4" />
Back Back
@ -1091,7 +1085,6 @@ export const ComposioConnector: React.FC<ComposioConnectorProps> = ({
<Button <Button
onClick={handleSaveTools} onClick={handleSaveTools}
className="min-w-[80px]" className="min-w-[80px]"
type="button"
> >
<Save className="h-4 w-4" /> <Save className="h-4 w-4" />
Save Tools Save Tools