Files
Jiachi LiuandGitHub fc7f62dc4e Fix noindex is missing on static not-found page (#67135)
### What

Render noindex into a flight data and rsc payload when page path is
`/404`

### Why

When it's static generation, noindex is not rendered due to the
statusCode from mock request is 200, but we can relying on the pagePath
as `/404` page should always contain `nonidex`

We were missing the noindex before for flight generation, now we'll
render it when it's 404 page.
2024-06-23 21:56:08 +02:00

8 lines
117 B
JavaScript

export default function Layout({ children }) {
return (
<html>
<body>{children}</body>
</html>
)
}