diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 95573f6fc0..8c3541c956 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -3777,6 +3777,7 @@ export default function ChatView(props: ChatViewProps) { const handleRuntimeModeChangeForComposer = useEventCallback(handleRuntimeModeChange); const handleInteractionModeChangeForComposer = useEventCallback(handleInteractionModeChange); const togglePlanSidebarForComposer = useEventCallback(togglePlanSidebar); + const setThreadErrorForComposer = useEventCallback(setThreadError); // Empty state: no active thread if (!activeThread) { @@ -3963,7 +3964,7 @@ export default function ChatView(props: ChatViewProps) { togglePlanSidebar={togglePlanSidebarForComposer} focusComposer={focusComposer} scheduleComposerFocus={scheduleComposerFocus} - setThreadError={setThreadError} + setThreadError={setThreadErrorForComposer} onExpandImage={onExpandTimelineImage} />