mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
`getEntryKey` had some logic to remove `children` if it was part of the entry (originally it was intended to fix an issue with parallel slots that were used in place of a page, but wasn't working as intended). However, this breaks pages that are named `children`. Updating this again to implement what I think was the intended behavior in https://github.com/vercel/next.js/commit/4900fa21b078fd1ec1adc5d570fcfb560be8aeb6 which is to point to the correct entry when a parallel slot is used in place of a page component. - x-ref: #52362 Closes NEXT-1514 Fixes #53072
8 lines
121 B
JavaScript
8 lines
121 B
JavaScript
export default function RootLayout({ children }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|