Parent route not set correctly?
I'm confused.
Having
both the route /expeditions and /expeditions/$expeditionId will have root as parentRoute.
but if I were to move index.tsx up one directory such as
Then $expeditions/$expeditionId will have /expeditions as parent route (which is what I would want in both cases).
Have I misunderstood how this works or is this a bug?
1 Reply
xenial-black•2mo ago
is this missing some indentation?
ideally please provide a complete example by forking one of the existing router examples on stackblitz