Files
Hendrik LiebauandGitHub e69f754d09 Rename empty-fallback-shells test suite to just fallback-shells (#80461)
The test suite already tests more variations of fallback shells than just the empty ones. There will also be added more tests in the future. We're renaming it to reflect that.
2025-06-13 08:19:22 +02:00

19 lines
388 B
React

import { getSentinelValue } from './sentinel'
export async function LastModified({ params }) {
const { slug } = await params
return (
<p id="last-modified">
Page /{slug} last modified: {new Date().toISOString()} (
{getSentinelValue()})
</p>
)
}
export async function CachedLastModified({ params }) {
'use cache'
return <LastModified params={params} />
}