Skip to content

Commit 5734f2c

Browse files
committed
cast
1 parent 9d2d237 commit 5734f2c

File tree

1 file changed

+1
-1
lines changed
  • apps/docs/app/[lang]/[[...slug]]

1 file changed

+1
-1
lines changed

apps/docs/app/[lang]/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export async function generateMetadata(props: {
359359
const page = source.getPage(slug, lang)
360360
if (!page) notFound()
361361

362-
const data = page.data as PageData
362+
const data = page.data as unknown as PageData
363363
const fullUrl = `${BASE_URL}${page.url}`
364364

365365
const ogImageUrl = `${BASE_URL}/api/og?title=${encodeURIComponent(data.title)}`

0 commit comments

Comments
 (0)