mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:01:26 +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();
|
checkInView();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Reference in New Issue
Block a user