Revert "ran prettier"

This reverts commit 750c1df0bbdddeedfb036f085ead7a4a850b6ef1.
This commit is contained in:
hagen-danswer 2024-06-07 11:20:58 -07:00
parent b79820a309
commit 16e023a8ce
8 changed files with 22 additions and 20 deletions

View File

@ -73,9 +73,9 @@ const MainSection = () => {
return (
<>
<Text>
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.
</Text>
<Title className="mb-2 mt-6 ml-auto mr-auto">
@ -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&apos;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>
)}
</>

View File

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

View File

@ -21,7 +21,9 @@ 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 {

View File

@ -21,7 +21,7 @@ export function useDocumentSelection(): [
DanswerDocument[],
(document: DanswerDocument) => void,
() => void,
number
number,
] {
const [selectedDocuments, setSelectedDocuments] = useState<DanswerDocument[]>(
[]

View File

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

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

@ -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) {