Hi, When I use `useWindowScroll`, ```` useEffect(() => { scrollTo(0, 0); }, [scrollTo]); ```` The compiler says "Expected 1 arguments, but got 2.". Effectively, the index.d.ts is incorrect : ``` export function useWindowScroll(): [ { x: number | null; y: number | null; }, (args: unknown) => void ]; ```
Activity
pom421 commentedon Apr 17, 2024
For readers in a hurry, I have used this quickfix in my code 👍🏼