Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Apr 24, 2024
1 parent 3e81f39 commit ecd7db7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/tabby-ui/components/prompt-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ function PromptFormRenderer(
}, [])

const handleCompletionSelect = (item: ISearchHit) => {
/*
const selectionEnd = prevInputSelectionEnd.current ?? 0
const queryNameMatches = getSearchCompletionQueryName(input, selectionEnd)
if (queryNameMatches) {
Expand All @@ -137,6 +138,7 @@ function PromptFormRenderer(
}
setOptions([])
setSuggestionOpen(false)
*/
}

const handlePromptSubmit: React.FormEventHandler<
Expand Down

0 comments on commit ecd7db7

Please sign in to comment.