mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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.
19 lines
388 B
React
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} />
|
|
}
|