Skip to content

Commit a69f921

Browse files
refactor: remove unnecessary scrollToBottom call in usePlanWebSocket effect
1 parent 52e8b2f commit a69f921

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/App/src/hooks/usePlanWebSocket.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ export function usePlanWebSocket({
137137
const line = PlanDataService.simplifyHumanClarification(msg.data?.content || msg.content || '');
138138
dispatch(setShowBufferingText(true));
139139
dispatch(appendToStreamingBuffer(line));
140-
scrollToBottom();
140+
//scrollToBottom();
141141
},
142142
);
143143
return unsub;
144-
}, [dispatch, scrollToBottom]);
144+
}, [dispatch]);
145145

146146
// ── USER_CLARIFICATION_REQUEST ────────────────────────────────
147147
useEffect(() => {

0 commit comments

Comments
 (0)