mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-21 23:04:49 +02:00
CI: adding prettier to pre-commit (#1009)
This commit is contained in:
@@ -148,10 +148,10 @@ export const Chat = ({
|
||||
(persona) => persona.id === existingChatSessionPersonaId
|
||||
)
|
||||
: defaultSelectedPersonaId !== undefined
|
||||
? availablePersonas.find(
|
||||
(persona) => persona.id === defaultSelectedPersonaId
|
||||
)
|
||||
: undefined
|
||||
? availablePersonas.find(
|
||||
(persona) => persona.id === defaultSelectedPersonaId
|
||||
)
|
||||
: undefined
|
||||
);
|
||||
const livePersona = selectedPersona || availablePersonas[0];
|
||||
|
||||
|
@@ -87,7 +87,7 @@ export function StatusRow<ConnectorConfigType, ConnectorCredentialType>({
|
||||
|
||||
export interface ColumnSpecification<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
header: string;
|
||||
key: string;
|
||||
@@ -101,7 +101,7 @@ export interface ColumnSpecification<
|
||||
|
||||
export interface ConnectorsTableProps<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
connectorIndexingStatuses: ConnectorIndexingStatus<
|
||||
ConnectorConfigType,
|
||||
|
@@ -46,7 +46,7 @@ const SingleUseConnectorStatus = ({
|
||||
|
||||
export function SingleUseConnectorsTable<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
>({
|
||||
connectorIndexingStatuses,
|
||||
liveCredential,
|
||||
|
@@ -171,7 +171,7 @@ export interface IndexAttemptSnapshot {
|
||||
|
||||
export interface ConnectorIndexingStatus<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
cc_pair_id: number;
|
||||
name: string | null;
|
||||
|
Reference in New Issue
Block a user