Skip to content

Commit

Permalink
Fixing needless cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Dec 8, 2023
1 parent 03e7094 commit 2dc4474
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ export const animateMotionValue = (
)
}

/**
* If we have an optimised animation running for this value, cancel it.
*/
value.owner?.cancelOptimisedAnimation?.[
transformProps.has(valueName) ? "transform" : valueName
]?.()

/**
* Animate via WAAPI if possible.
*/
Expand Down

0 comments on commit 2dc4474

Please sign in to comment.