Skip to content

Commit

Permalink
fix: ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
Holybasil committed Sep 13, 2024
1 parent 88e0441 commit 5975871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/blog/[blogId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function generateMetadata({ params }): Promise<Metadata> {

const title = `${currentBlog?.title} - Scroll`
const description = currentBlog?.summary
const imgUrl = currentBlog?.ogImg || currentBlog?.posterImg
const imgUrl = currentBlog?.ogImg || currentBlog?.posterImg || ""

const url = currentBlog?.canonical || `https://scroll.io/blog/${currentBlog?.id}`

Expand Down

0 comments on commit 5975871

Please sign in to comment.