chore: smaller auto scroll interval

This commit is contained in:
Yidadaa 2023-08-02 23:51:01 +08:00
parent b5ef552c25
commit 75d4eca722
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ function useScrollToBottom() {
if (autoScroll.current) {
scrollToBottom();
}
}, 100);
}, 30);
return () => clearInterval(intervalId);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);