diff --git a/app/src/components/templates/CreateNewWindow.tsx b/app/src/components/templates/CreateNewWindow.tsx index c874688..ccf87bf 100644 --- a/app/src/components/templates/CreateNewWindow.tsx +++ b/app/src/components/templates/CreateNewWindow.tsx @@ -217,16 +217,6 @@ export const RenderInNewWindow: React.FC = ({ }; }, []); - useEffect(() => { - const handleResize = () => { - childWindowRef.current?.dispatchEvent(new Event("resize")); - }; - childWindowRef.current?.addEventListener("resize", handleResize); - return () => { - childWindowRef.current?.removeEventListener("resize", handleResize); - }; - }, []); - useEffect(() => { const w = childWindowRef.current; if (w && !w.closed) {