diff --git a/frontend/faraday/lib/TileLayout.tsx b/frontend/faraday/lib/TileLayout.tsx index 81413d526..c9fdc937f 100644 --- a/frontend/faraday/lib/TileLayout.tsx +++ b/frontend/faraday/lib/TileLayout.tsx @@ -140,7 +140,7 @@ export const TileLayout = ({ layoutTreeStateAtom, className, renderContent, newResizeObserver.observe(overlayContainerRef.current); setResizeObserver(newResizeObserver); return () => { - resizeObserver.disconnect(); + newResizeObserver.disconnect(); }; } }, [updateTransforms, overlayContainerRef]);