CI: adding prettier to pre-commit (#1009)

This commit is contained in:
Itay
2024-01-28 23:03:39 +02:00
committed by GitHub
parent 60a16fa46d
commit a4053501d0
6 changed files with 55 additions and 44 deletions

View File

@@ -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];

View File

@@ -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,

View File

@@ -46,7 +46,7 @@ const SingleUseConnectorStatus = ({
export function SingleUseConnectorsTable<
ConnectorConfigType,
ConnectorCredentialType
ConnectorCredentialType,
>({
connectorIndexingStatuses,
liveCredential,

View File

@@ -171,7 +171,7 @@ export interface IndexAttemptSnapshot {
export interface ConnectorIndexingStatus<
ConnectorConfigType,
ConnectorCredentialType
ConnectorCredentialType,
> {
cc_pair_id: number;
name: string | null;