comment out scroll for now

This commit is contained in:
Dallin Romney 2024-11-15 11:20:19 -08:00
parent 6240180fda
commit bfb56dd5dd

View file

@ -159,11 +159,11 @@ export function Chat() {
if (active) snapToBottom();
}, [active, snapToBottom]);
useEffect(() => {
setTimeout(() => {
smoothScrollToBottom();
}, 400);
}, [smoothScrollToBottom, state.sessionId]);
// useEffect(() => {
// setTimeout(() => {
// smoothScrollToBottom();
// }, 400);
// }, [smoothScrollToBottom, state.sessionId]);
useEffect(() => {
// Cmd + Backspace to delete current step