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