nanostores/router

Expected 2 arguments, but got 3

rapitkan opened this issue · 2 comments

Screenshot 2023-03-16 at 14 44 29

Problem: redirectPage function complains when user is trying to give three parameters for it.

ai commented

Can you show your routes?

Hi. I was able to resolve the issue by myself. Route configuration was defined without as const. I added that and the error vanished. Your question about seeing the routes was helpful. Thanks.