forked from XiaoMo/ChatGPT-Next-Web
chore: smaller auto scroll interval
This commit is contained in:
parent
b5ef552c25
commit
75d4eca722
@ -387,7 +387,7 @@ function useScrollToBottom() {
|
||||
if (autoScroll.current) {
|
||||
scrollToBottom();
|
||||
}
|
||||
}, 100);
|
||||
}, 30);
|
||||
return () => clearInterval(intervalId);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
Loading…
Reference in New Issue
Block a user