forked from XiaoMo/ChatGPT-Next-Web
fixup
This commit is contained in:
parent
220c622f8f
commit
f5a5cffdec
@ -90,15 +90,6 @@ export function Markdown(
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
if (!inView.current) {
|
||||
checkInView();
|
||||
}
|
||||
}, 10);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
checkInView();
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user