darkroomengineering / lenis

How smooth scroll should be
https://lenis.darkroom.engineering
MIT License
7.33k stars 316 forks source link

[Typescript] useLenis should not require any argument #314

Closed cody-ta closed 3 months ago

cody-ta commented 3 months ago

CleanShot 2024-03-11 at 14 10 29@2x

The first argument is the callback for effect of lenis instance. It shouldn't be required.

clementroche commented 3 months ago

nice catch

clementroche commented 3 months ago

this should be fixed in v0.0.46