Skip to content

Commit

Permalink
add animation effects deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanquirino committed Sep 24, 2023
1 parent 9b79d40 commit bba744f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockpuzzle/components/UnitBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function UnitBlock(props: Block) {
prevX.current = x;
return p;
});
});
}, [x, y, size]);

return <div ref={ref} className={classes} data-key={`c-${y * COLS + x}`} />;
}
Expand Down

0 comments on commit bba744f

Please sign in to comment.