I'm having a weird issue with next-routes. session.js is throwing an error on line 21, a method named isNextPath.
My console's giving me: "TypeError: routes.isNextPath is not a function".
Commenting out the if statement it's wrapped in eliminates the error but it appears to be setting up the initial session so I'm guessing that's a bad idea. I'm not sure how to debug this since it's throwing an error due to a next.js package.
Any pointers you can suggest are much appreciated.