mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Cleanup comments
This commit is contained in:
parent
b86e11654c
commit
42bf59d492
1 changed files with 0 additions and 1 deletions
|
@ -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 = () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue