darkroomengineering / lenis

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

[Typescript] useLenis should not require any argument #314

Closed cody-ta closed 8 months ago

cody-ta commented 8 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 8 months ago

nice catch

clementroche commented 8 months ago

this should be fixed in v0.0.46