Skip to content

Conversation

@PedroMarianoAlmeida
Copy link
Contributor

@PedroMarianoAlmeida PedroMarianoAlmeida commented May 20, 2025

animationRef

Is assigned as the return of requestAnimationFrame, so I typed accordingly (and I added a few "if is not null" before cancelling)

getEffectiveSpeed

The finalSpeed (the first parameter is always a number, so no need to parse) and the second parameter is a boolean

I put each change in different commits just to be easier to validate, to merge can be squashed

The finalSpeed is a number, so no need to the safe guard
@vercel
Copy link

vercel bot commented May 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-bits-ui ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 1:58pm

@DavidHDev DavidHDev merged commit 164c689 into DavidHDev:main May 22, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants