mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
remove unnecessary props
This commit is contained in:
parent
1ad81583c0
commit
d33e9aa63a
2 changed files with 1 additions and 4 deletions
|
|
@ -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>;
|
||||||
|
|
|
||||||
|
|
@ -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}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue