Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 21, 2025
1 parent 9d8fbbe commit 7a4f2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/tabby-chat-panel/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable no-console */
import { createThreadFromIframe, createThreadFromInsideIframe } from 'tabby-threads'
import { version } from '../package.json'

Expand Down Expand Up @@ -317,7 +316,8 @@ export interface ClientApiMethods {
readWorkspaceGitRepositories?: () => Promise<GitRepository[]>

/**
* @returns The active selection of active editor.
* Get the active editor selection as context, or the whole file if no selection.
* @returns The context of the active editor, or null if no active editor is found.
*/
getActiveEditorSelection: () => Promise<EditorFileContext | null>

Expand Down
1 change: 0 additions & 1 deletion clients/tabby-chat-panel/src/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function useServer(api: ServerApi) {
console.log('[useServer] Server created successfully')
}
catch (error) {
// eslint-disable-next-line no-console
console.error('[useServer] Failed to create server:', error)
isCreated = false
}
Expand Down

0 comments on commit 7a4f2a3

Please sign in to comment.