How to intercept routes from / page only?
Unanswered
Pacific herring posted this in #help-forum
Pacific herringOP
Hi everyone! I'm trying to intercept the /portfolio/project/[slug] route from main page (/) ONLY. With the following structure I've already accomplished that (picture):
The issue is that other routes that lead to that specific route also get intercepted which I don't want. For example, when I'm on /portfolio and click on one of the /portfolio/project/[slug] links, it gets intercepted and dialog window opens. Is there any native way to fix it? Thanks!
The issue is that other routes that lead to that specific route also get intercepted which I don't want. For example, when I'm on /portfolio and click on one of the /portfolio/project/[slug] links, it gets intercepted and dialog window opens. Is there any native way to fix it? Thanks!