We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d2d237 commit 5734f2cCopy full SHA for 5734f2c
apps/docs/app/[lang]/[[...slug]]/page.tsx
@@ -359,7 +359,7 @@ export async function generateMetadata(props: {
359
const page = source.getPage(slug, lang)
360
if (!page) notFound()
361
362
- const data = page.data as PageData
+ const data = page.data as unknown as PageData
363
const fullUrl = `${BASE_URL}${page.url}`
364
365
const ogImageUrl = `${BASE_URL}/api/og?title=${encodeURIComponent(data.title)}`
0 commit comments