Files
Hendrik LiebauandGitHub e663cf5db4 Add test cases without generateStaticParams to fallback-shells suite (#80462)
Copy&pasting some of the existing test cases for
`with-cached-io/with-static-params/with-suspense` to
`with-cached-io/without-static-params`. We expect the same results.

We do not copy `with-cached-io/with-static-params/without-suspense`.
Those cases are expected to yield build errors, because when there are
no static params defined, we don't allow an empty shell.
2025-06-18 08:38:24 +02:00

18 lines
376 B
React

'use cache'
import { getSentinelValue } from '../sentinel'
export default async function Layout({ children }) {
return (
<html>
<body>
<div id="root-layout">
Root Layout: {new Date().toISOString()} ({getSentinelValue()})
</div>
<p>This page does define some static params.</p>
{children}
</body>
</html>
)
}