Skip to content

Commit

Permalink
lastTT
Browse files Browse the repository at this point in the history
  • Loading branch information
barchakuz committed May 12, 2024
1 parent bb0514e commit 910c07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ui/3d-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const CardItem = ({
ref.current.style.transform = `translateX(0px) translateY(0px) translateZ(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg)`;
}
};
}, [isMouseEntered]); // Include handleAnimations in the dependency array
}, [isMouseEntered, translateX, translateY, translateZ, rotateX, rotateY, rotateZ]); // Include handleAnimations in the dependency array

return (
<Tag
Expand Down

0 comments on commit 910c07b

Please sign in to comment.