remove unnecessary props

This commit is contained in:
Manoj Aggarwal 2026-01-16 15:15:34 -08:00
parent 1ad81583c0
commit d33e9aa63a
2 changed files with 1 additions and 4 deletions

View file

@ -26,7 +26,6 @@ export interface ConnectorConfigProps {
onConfigChange?: (config: Record<string, unknown>) => void; onConfigChange?: (config: Record<string, unknown>) => void;
onNameChange?: (name: string) => void; onNameChange?: (name: string) => void;
searchSpaceId?: string; searchSpaceId?: string;
onOtherMCPConnectorsLoaded?: (connectorIds: number[]) => void;
} }
export type ConnectorConfigComponent = FC<ConnectorConfigProps>; export type ConnectorConfigComponent = FC<ConnectorConfigProps>;

View file

@ -20,7 +20,6 @@ interface ConnectorEditViewProps {
isDisconnecting: boolean; isDisconnecting: boolean;
isIndexing?: boolean; isIndexing?: boolean;
searchSpaceId?: string; searchSpaceId?: string;
onOtherMCPConnectorsLoaded?: (connectorIds: number[]) => void;
onStartDateChange: (date: Date | undefined) => void; onStartDateChange: (date: Date | undefined) => void;
onEndDateChange: (date: Date | undefined) => void; onEndDateChange: (date: Date | undefined) => void;
onPeriodicEnabledChange: (enabled: boolean) => void; onPeriodicEnabledChange: (enabled: boolean) => void;
@ -43,7 +42,6 @@ export const ConnectorEditView: FC<ConnectorEditViewProps> = ({
isDisconnecting, isDisconnecting,
isIndexing = false, isIndexing = false,
searchSpaceId, searchSpaceId,
onOtherMCPConnectorsLoaded,
onStartDateChange, onStartDateChange,
onEndDateChange, onEndDateChange,
onPeriodicEnabledChange, onPeriodicEnabledChange,
@ -202,7 +200,7 @@ export const ConnectorEditView: FC<ConnectorEditViewProps> = ({
onConfigChange={onConfigChange} onConfigChange={onConfigChange}
onNameChange={onNameChange} onNameChange={onNameChange}
searchSpaceId={searchSpaceId} searchSpaceId={searchSpaceId}
onOtherMCPConnectorsLoaded={onOtherMCPConnectorsLoaded}
/> />
)} )}