diff options
author | Hailey <me@haileyok.com> | 2024-11-06 09:47:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-06 17:47:51 +0000 |
commit | 324c5a44a56c77d75f60f0d7199a754c690de4f1 (patch) | |
tree | 30c90295d847dd4b609e608285a6ba7a50ed538a /src/lib/custom-animations/CountWheel.web.tsx | |
parent | f95acdc8363f78618517c999fdc4f10ab6c20fa2 (diff) | |
download | voidsky-324c5a44a56c77d75f60f0d7199a754c690de4f1.tar.zst |
fix prop names (#6130)
Diffstat (limited to 'src/lib/custom-animations/CountWheel.web.tsx')
-rw-r--r-- | src/lib/custom-animations/CountWheel.web.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/custom-animations/CountWheel.web.tsx b/src/lib/custom-animations/CountWheel.web.tsx index 980ed06e6..d5ad618b1 100644 --- a/src/lib/custom-animations/CountWheel.web.tsx +++ b/src/lib/custom-animations/CountWheel.web.tsx @@ -39,15 +39,15 @@ export function CountWheel({ likeCount, big, isLiked, - isToggle, + hasBeenToggled, }: { likeCount: number big?: boolean isLiked: boolean - isToggle: boolean + hasBeenToggled: boolean }) { const t = useTheme() - const shouldAnimate = !useReducedMotion() && isToggle + const shouldAnimate = !useReducedMotion() && hasBeenToggled const shouldRoll = decideShouldRoll(isLiked, likeCount) const countView = React.useRef<HTMLDivElement>(null) |