Skip to content

Commit e72f32a

Browse files
committed
linter error
1 parent bb332d3 commit e72f32a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/BouncyCat/BouncyCat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function BouncyCat({ totalCatCount = 1 }: BouncyCatProps) {
4949
newPosition.y += velocity.y;
5050

5151
// Bounce off walls
52-
let newVelocity = { ...velocity };
52+
const newVelocity = { ...velocity };
5353

5454
// Left and right walls
5555
if (newPosition.x <= 0 || newPosition.x >= window.innerWidth - catSize) {

0 commit comments

Comments
 (0)