diff --git a/web/src/app/admin/connectors/teams/page.tsx b/web/src/app/admin/connectors/teams/page.tsx index 4ec0c9837..30ea4d3bc 100644 --- a/web/src/app/admin/connectors/teams/page.tsx +++ b/web/src/app/admin/connectors/teams/page.tsx @@ -73,9 +73,9 @@ const MainSection = () => { return ( <> - The Teams connector allows you to index and search through your - Teams channels. Once setup, all messages from the channels contained - in the specified teams will be queryable within Danswer. + The Teams connector allows you to index and search through your Teams + channels. Once setup, all messages from the channels contained in the + specified teams will be queryable within Danswer. @@ -165,8 +165,8 @@ const MainSection = () => { {teamsConnectorIndexingStatuses.length > 0 && ( <> <Text className="mb-2"> - The latest messages from the specified teams are - fetched every 10 minutes. + The latest messages from the specified teams are fetched every 10 + minutes. </Text> <div className="mb-2"> <ConnectorsTable<TeamsConfig, TeamsCredentialJson> @@ -241,8 +241,8 @@ const MainSection = () => { ) : ( <Text> Please provide all Azure info in Step 1 first! Once you're done - with that, you can then specify which teams you want to - make searchable. + with that, you can then specify which teams you want to make + searchable. </Text> )} </> diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index 3a385c1af..1fec3bb27 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -332,10 +332,10 @@ export function ChatPage({ (persona) => persona.id === existingChatSessionPersonaId ) : defaultSelectedPersonaId !== undefined - ? filteredAssistants.find( - (persona) => persona.id === defaultSelectedPersonaId - ) - : undefined + ? filteredAssistants.find( + (persona) => persona.id === defaultSelectedPersonaId + ) + : undefined ); const livePersona = selectedPersona || filteredAssistants[0] || availablePersonas[0]; diff --git a/web/src/app/chat/message/custom-code-styles.css b/web/src/app/chat/message/custom-code-styles.css index b7d419beb..30dee5540 100644 --- a/web/src/app/chat/message/custom-code-styles.css +++ b/web/src/app/chat/message/custom-code-styles.css @@ -21,9 +21,7 @@ pre[class*="language-"] { ::-webkit-scrollbar-thumb { background: #4b5563; /* Dark handle color */ border-radius: 10px; - transition: - background 0.3s ease, - box-shadow 0.3s ease; /* Smooth transition for hover effect */ + transition: background 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */ } ::-webkit-scrollbar-thumb:hover { diff --git a/web/src/app/chat/useDocumentSelection.ts b/web/src/app/chat/useDocumentSelection.ts index df33f13c3..9e5fa3d2c 100644 --- a/web/src/app/chat/useDocumentSelection.ts +++ b/web/src/app/chat/useDocumentSelection.ts @@ -21,7 +21,7 @@ export function useDocumentSelection(): [ DanswerDocument[], (document: DanswerDocument) => void, () => void, - number, + number ] { const [selectedDocuments, setSelectedDocuments] = useState<DanswerDocument[]>( [] diff --git a/web/src/components/Bubble.tsx b/web/src/components/Bubble.tsx index 1b559ec24..8bf6f1977 100644 --- a/web/src/components/Bubble.tsx +++ b/web/src/components/Bubble.tsx @@ -27,8 +27,8 @@ export function Bubble({ (notSelectable ? " bg-background cursor-default" : isSelected - ? " bg-hover cursor-pointer" - : " bg-background hover:bg-hover-light cursor-pointer") + ? " bg-hover cursor-pointer" + : " bg-background hover:bg-hover-light cursor-pointer") } onClick={onClick} > diff --git a/web/src/components/admin/connectors/table/ConnectorsTable.tsx b/web/src/components/admin/connectors/table/ConnectorsTable.tsx index be9448bac..1a84fdcd7 100644 --- a/web/src/components/admin/connectors/table/ConnectorsTable.tsx +++ b/web/src/components/admin/connectors/table/ConnectorsTable.tsx @@ -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, diff --git a/web/src/components/admin/connectors/table/SingleUseConnectorsTable.tsx b/web/src/components/admin/connectors/table/SingleUseConnectorsTable.tsx index f1308a995..47d848357 100644 --- a/web/src/components/admin/connectors/table/SingleUseConnectorsTable.tsx +++ b/web/src/components/admin/connectors/table/SingleUseConnectorsTable.tsx @@ -46,7 +46,7 @@ const SingleUseConnectorStatus = ({ export function SingleUseConnectorsTable< ConnectorConfigType, - ConnectorCredentialType, + ConnectorCredentialType >({ connectorIndexingStatuses, liveCredential, diff --git a/web/src/lib/assistants/fetchPersonaEditorInfoSS.ts b/web/src/lib/assistants/fetchPersonaEditorInfoSS.ts index b98564bee..17484cd1b 100644 --- a/web/src/lib/assistants/fetchPersonaEditorInfoSS.ts +++ b/web/src/lib/assistants/fetchPersonaEditorInfoSS.ts @@ -18,7 +18,7 @@ export async function fetchAssistantEditorInfoSS( existingPersona: Persona | null; tools: ToolSnapshot[]; }, - null, + null ] | [null, string] > { @@ -50,7 +50,7 @@ export async function fetchAssistantEditorInfoSS( Response, User | null, ToolSnapshot[] | null, - Response | null, + Response | null ]; if (!ccPairsInfoResponse.ok) { diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts index 81d717418..55cfe700c 100644 --- a/web/src/lib/types.ts +++ b/web/src/lib/types.ts @@ -218,7 +218,7 @@ export interface IndexAttemptSnapshot { export interface ConnectorIndexingStatus< ConnectorConfigType, - ConnectorCredentialType, + ConnectorCredentialType > { cc_pair_id: number; name: string | null;