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;
onNameChange?: (name: string) => void;
searchSpaceId?: string;
onOtherMCPConnectorsLoaded?: (connectorIds: number[]) => void;
}
export type ConnectorConfigComponent = FC<ConnectorConfigProps>;

View file

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