diff --git a/src/WinXP/Windows/index.js b/src/WinXP/Windows/index.js index facc1eafa..ff459c741 100644 --- a/src/WinXP/Windows/index.js +++ b/src/WinXP/Windows/index.js @@ -66,6 +66,8 @@ const Window = memo(function({ } const dragRef = useRef(null); const ref = useRef(null); + const innerWindowRef = useRef(null); + const { width: windowWidth, height: windowHeight } = useWindowSize(); const { offset, size } = useElementResize(ref, { dragRef, @@ -92,6 +94,7 @@ const Window = memo(function({ x = offset.x; y = offset.y; } + return (
-