diff --git a/src/blockpuzzle/components/UnitBlock.tsx b/src/blockpuzzle/components/UnitBlock.tsx index 4e4fe7c..61c46e3 100644 --- a/src/blockpuzzle/components/UnitBlock.tsx +++ b/src/blockpuzzle/components/UnitBlock.tsx @@ -54,7 +54,7 @@ function UnitBlock(props: Block) { prevX.current = x; return p; }); - }); + }, [x, y, size]); return
; }