diff --git a/src/components/window/WindowFrame.tsx b/src/components/window/WindowFrame.tsx index 1006f30c..680fb8a0 100644 --- a/src/components/window/WindowFrame.tsx +++ b/src/components/window/WindowFrame.tsx @@ -193,7 +193,6 @@ export const WindowFrame = forwardRef((props: PropsWithChildren { if (contentAvailable && position && !(maximized || wasMaximized)) { const newValue = calcEdgePosition(viewport); - console.log("layoutEffect"); setPosition((current) => (isEqual(newValue, current) ? current : newValue)); } }, [contentAvailable, wasMaximized, calcEdgePosition, maximized, position, viewport]); @@ -206,7 +205,6 @@ export const WindowFrame = forwardRef((props: PropsWithChildren { const { y, height, width, x } = box; setSize({ width, height }); - console.log("setFrameBox"); setPosition({ x, y }); }, []);