- Notifications
You must be signed in to change notification settings - Fork65
Open
Description
When defining multiple_layout.tsx files in a parent-child folder structure (e.g.,routes/_layout.tsx androutes/dashboard/_layout.tsx), the layouts are automatically nested, resulting in double-layered layouts instead of using only the child’s layout.
routes/ _layout.tsx // Parent layout dashboard/ _layout.tsx // Child layout index.tsxthe desired result: the index.tsx uses the closest child_layout.tsx
is there any workaround for this scenario?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels