mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 22:12:33 +08:00
fixup
This commit is contained in:
@@ -90,6 +90,15 @@ export function Markdown(
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
if (!inView.current) {
|
||||
checkInView();
|
||||
}
|
||||
}, 30);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
checkInView();
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user