diff --git a/apps/admin-x-settings/src/utils/IframeBuffering.tsx b/apps/admin-x-settings/src/utils/IframeBuffering.tsx index d3860ca0d7..a9ce6d72eb 100644 --- a/apps/admin-x-settings/src/utils/IframeBuffering.tsx +++ b/apps/admin-x-settings/src/utils/IframeBuffering.tsx @@ -45,7 +45,6 @@ const IframeBuffering: React.FC = ({generateContent, class // eslint-disable-next-line react-hooks/exhaustive-deps }, [generateContent]); - // track the scroll position of the visible iframe and set scroll position of the invisible iframe useEffect(() => { const iframe = iframes[visibleIframeIndex].current; const onScroll = () => {