@@ -432,7 +432,8 @@ export const ChatInput: React.FC<ChatInputProps> = ({
432432 setTimeout ( ( ) => inputRef . current ?. focus ( ) , 0 ) ;
433433 } ;
434434 window . addEventListener ( CUSTOM_EVENTS . INSERT_TO_CHAT_INPUT , handler as EventListener ) ;
435- return ( ) => window . removeEventListener ( CUSTOM_EVENTS . INSERT_TO_CHAT_INPUT , handler as EventListener ) ;
435+ return ( ) =>
436+ window . removeEventListener ( CUSTOM_EVENTS . INSERT_TO_CHAT_INPUT , handler as EventListener ) ;
436437 } , [ setInput ] ) ;
437438
438439 // Allow external components to open the Model Selector
@@ -442,7 +443,8 @@ export const ChatInput: React.FC<ChatInputProps> = ({
442443 modelSelectorRef . current ?. open ( ) ;
443444 } ;
444445 window . addEventListener ( CUSTOM_EVENTS . OPEN_MODEL_SELECTOR , handler as EventListener ) ;
445- return ( ) => window . removeEventListener ( CUSTOM_EVENTS . OPEN_MODEL_SELECTOR , handler as EventListener ) ;
446+ return ( ) =>
447+ window . removeEventListener ( CUSTOM_EVENTS . OPEN_MODEL_SELECTOR , handler as EventListener ) ;
446448 } , [ ] ) ;
447449
448450 // Show toast when thinking level is changed via command palette
@@ -469,7 +471,8 @@ export const ChatInput: React.FC<ChatInputProps> = ({
469471 } ;
470472
471473 window . addEventListener ( CUSTOM_EVENTS . THINKING_LEVEL_TOAST , handler as EventListener ) ;
472- return ( ) => window . removeEventListener ( CUSTOM_EVENTS . THINKING_LEVEL_TOAST , handler as EventListener ) ;
474+ return ( ) =>
475+ window . removeEventListener ( CUSTOM_EVENTS . THINKING_LEVEL_TOAST , handler as EventListener ) ;
473476 } , [ workspaceId , setToast ] ) ;
474477
475478 // Handle command selection
0 commit comments