@@ -10,7 +10,6 @@ import { use_ghost_text } from './hooks/use-ghost-text'
1010import { use_drag_drop } from './hooks/use-drag-drop'
1111import { use_keyboard_shortcuts } from './hooks/use-keyboard-shortcuts'
1212import { use_edit_format_compacting } from './hooks/use-edit-format-compacting'
13- import { use_suppressed_hover_tab } from './hooks/use-suppressed-hover-tab'
1413import { DropdownMenu } from '../../common/DropdownMenu'
1514import { use_is_mac } from '@shared/hooks'
1615import {
@@ -94,8 +93,6 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
9493 const [ hovered_edit_format , set_hovered_edit_format ] =
9594 useState < EditFormat | null > ( null )
9695 const [ is_recording_hovered , set_is_recording_hovered ] = useState ( false )
97- const { suppressed_hover_tab_index, handle_mouse_over } =
98- use_suppressed_hover_tab ( props . active_tab_index )
9996
10097 const [ prune_instructions , set_prune_instructions ] = useState (
10198 props . prune_context_instructions_prefix
@@ -208,9 +205,7 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
208205 is_chatbots_mode : props . is_chatbots_mode ,
209206 tabs_config : {
210207 count : props . tabs_count ,
211- active_index : props . active_tab_index ,
212- can_delete : true ,
213- suppressed_index : suppressed_hover_tab_index ?? undefined
208+ active_index : props . active_tab_index
214209 }
215210 } )
216211 } , [
@@ -220,8 +215,7 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
220215 props . context_file_paths ,
221216 props . is_chatbots_mode ,
222217 props . tabs_count ,
223- props . active_tab_index ,
224- suppressed_hover_tab_index
218+ props . active_tab_index
225219 ] )
226220
227221 useEffect ( ( ) => {
@@ -350,7 +344,6 @@ export const PromptField: React.FC<PromptFieldProps> = (props) => {
350344 ( ! ! props . current_selection || ! props . currently_open_file_path ) ,
351345 [ styles [ 'container__inner--selecting' ] ] : is_text_selecting
352346 } ) }
353- onMouseOver = { handle_mouse_over }
354347 onKeyDown = { handle_container_key_down }
355348 onClick = { ( ) => input_ref . current ?. focus ( ) }
356349 >
0 commit comments