mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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
9 lines
153 B
TypeScript
9 lines
153 B
TypeScript
export default ({ children }) => {
|
|
return (
|
|
<div>
|
|
<h1 id="parallel-subroute">parallel subroute layout</h1>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|