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