Type Errors when using navigate from useNavigate
Hi, I am getting type errors on my search params when I pass them to the navigate function created by useNavigate. I have put together a very basic example to replicate the issue I am facing:
The above code produces the following type error:
The code works without issue but I don't understand why I am getting the type error from VSCode.
The above code produces the following type error:
The code works without issue but I don't understand why I am getting the type error from VSCode.