Why does my Login page not open from "homepage" (/), but does work as Modal from another route?
Unanswered
Mini Satin posted this in #help-forum
Mini SatinOP
I am playing around with Intercepting/Parallel Routes and trying to follow the example given in the docs (https://nextjs.org/docs/app/building-your-application/routing/parallel-routes#modals) for a Login page that works both standalone from a "/signin" route and as a Modal from other pages. I've got it working when I am in "/car" but getting error when trying to open it from "/" route. Error is:
I am attaching my directory structure
Uncaught TypeError: initialTree is not iterableI am attaching my directory structure