Skip to content
Discussion options

You must be logged in to vote

company-ad.$id is actually a layout route, not a leaf route. In order for any sub-routes to render their components, you either need to

  • render <Outlet> somewhere inside company-ad.$id, which is where the leaf route will render
  • Change the name of company-ad.$id to company-ad.$id._index so it is no longer treated as a layout route.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DenisKnezBeforeNine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants