0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Cleanup comments

This commit is contained in:
Ronald Langeveld 2024-02-21 17:18:42 +02:00
parent b86e11654c
commit 42bf59d492

View file

@ -45,7 +45,6 @@ const IframeBuffering: React.FC<IframeBufferingProps> = ({generateContent, class
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [generateContent]); }, [generateContent]);
// track the scroll position of the visible iframe and set scroll position of the invisible iframe
useEffect(() => { useEffect(() => {
const iframe = iframes[visibleIframeIndex].current; const iframe = iframes[visibleIframeIndex].current;
const onScroll = () => { const onScroll = () => {