about summary refs log tree commit diff
path: root/src/lib/custom-animations/CountWheel.web.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/custom-animations/CountWheel.web.tsx')
-rw-r--r--src/lib/custom-animations/CountWheel.web.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/custom-animations/CountWheel.web.tsx b/src/lib/custom-animations/CountWheel.web.tsx
index 594117bfe..78120b707 100644
--- a/src/lib/custom-animations/CountWheel.web.tsx
+++ b/src/lib/custom-animations/CountWheel.web.tsx
@@ -39,13 +39,15 @@ export function CountWheel({
   likeCount,
   big,
   isLiked,
+  isToggle,
 }: {
   likeCount: number
   big?: boolean
   isLiked: boolean
+  isToggle: boolean
 }) {
   const t = useTheme()
-  const shouldAnimate = !useReducedMotion()
+  const shouldAnimate = !useReducedMotion() && isToggle
   const shouldRoll = decideShouldRoll(isLiked, likeCount)
 
   const countView = React.useRef<HTMLDivElement>(null)