Files

7 lines
208 B
TypeScript

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