Skip to content

Commit f9fc668

Browse files
committed
fix: add missing dependency to useCallback hook
1 parent 735004f commit f9fc668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
559559
setFileSearchResults([]) // Clear file search results.
560560
}
561561
},
562-
[setInputValue, setSearchRequestId, setFileSearchResults, setSearchLoading, resetOnInputChange],
562+
[setInputValue, setSearchRequestId, setFileSearchResults, setSearchLoading, resetOnInputChange, showContextMenu],
563563
)
564564

565565
useEffect(() => {

0 commit comments

Comments
 (0)