diff --git a/web/src/app/admin/connectors/notion/page.tsx b/web/src/app/admin/connectors/notion/page.tsx index 533befb37..9dae184f3 100644 --- a/web/src/app/admin/connectors/notion/page.tsx +++ b/web/src/app/admin/connectors/notion/page.tsx @@ -29,7 +29,7 @@ const Main = () => { error: isConnectorIndexingStatusesError, } = useSWR[]>( "/api/manage/admin/connector/indexing-status", - fetcher, + fetcher ); const { data: credentialsData, @@ -37,7 +37,7 @@ const Main = () => { error: isCredentialsError, } = useSWR[]>( "/api/manage/credential", - fetcher, + fetcher ); if ( @@ -57,10 +57,10 @@ const Main = () => { const notionConnectorIndexingStatuses = connectorIndexingStatuses.filter( (connectorIndexingStatus) => - connectorIndexingStatus.connector.source === "notion", + connectorIndexingStatus.connector.source === "notion" ); const notionCredential = credentialsData.filter( - (credential) => credential.credential_json?.notion_integration_token, + (credential) => credential.credential_json?.notion_integration_token )[0]; return ( @@ -124,7 +124,7 @@ const Main = () => { } validationSchema={Yup.object().shape({ notion_integration_token: Yup.string().required( - "Please enter the Notion Integration token for the Danswer integration.", + "Please enter the Notion Integration token for the Danswer integration." ), })} initialValues={{ diff --git a/web/src/components/source.tsx b/web/src/components/source.tsx index 8cd44aecd..ab3fa276e 100644 --- a/web/src/components/source.tsx +++ b/web/src/components/source.tsx @@ -92,7 +92,7 @@ export const getSourceIcon = (sourceType: ValidSources, iconSize: string) => { }; export const getSourceDisplayName = ( - sourceType: ValidSources, + sourceType: ValidSources ): string | null => { return getSourceMetadata(sourceType).displayName; };