Files

7 lines
200 B
TypeScript

import { draftMode } from 'next/headers'
export async function generateMetadata(props: any) {
const params = await props.params
await getMostRecentChangelog(params.slug, draftMode().isEnabled)
}