Intercepting routes error
Unanswered
Broad-snouted Caiman posted this in #help-forum
Broad-snouted CaimanOP
I have the following directory setup as pictured below
A (…)login intercepting directory inside an @auth slot, and a corresponding login directory in a (main) group
I want to be able to intercept /login and show a login modal when I’m in an route expect /login and /register
I get the desired behavior when within / or /featured-celebs, etc, but when I try to navigate to /login from /register it returns 404 in /login, how ever if I reload the tab while on /login it renders the login route as expected
What am I doing wrong?
How can I intercept /login n show modal from anywhere else except /login or /register
A (…)login intercepting directory inside an @auth slot, and a corresponding login directory in a (main) group
I want to be able to intercept /login and show a login modal when I’m in an route expect /login and /register
I get the desired behavior when within / or /featured-celebs, etc, but when I try to navigate to /login from /register it returns 404 in /login, how ever if I reload the tab while on /login it renders the login route as expected
What am I doing wrong?
How can I intercept /login n show modal from anywhere else except /login or /register