Files
Jimmy LaiandGitHub bc9ed9de98 router: support layout/special files as direct children of parallel routes (#51604)
follow up on #51413 where I kinda forgot to support parsing layout files in sub routes in a parallel segment.

This should fix it by making sure that we check at all level of the app loader tree and by creating an implicit inner `children` for all parallel slot



link NEXT-1301
2023-06-21 11:16:21 +00:00

9 lines
153 B
TypeScript

export default ({ children }) => {
return (
<div>
<h1 id="parallel-subroute">parallel subroute layout</h1>
{children}
</div>
)
}