TanStackT
TanStack4mo ago
8 replies
popular-magenta

avoid route nesting not working as expected

i've a file based routing defined as such:

.../$slug
     /members
       /route.tsx // <- contain tabs
       /(tab1)/index.tsx
       /tab2/index.tsx
     /members.invite.tsx // <- not nested to avoid showing tabs


but tabs still show (see screenshot)

is that a bug or expected behavior? how to land a solution for this which does not involve route matching?
image.png
Was this page helpful?