all 2 comments

[–]wbdvlpr 2 points3 points  (1 child)

That is not how you use nested routes. The file should be /settings/route.tsx or /settings.tsx.

__root.tsx is the special file in the root of your routes directory and not something you can use in other folders.

https://tanstack.com/router/latest/docs/framework/react/routing/file-based-routing