Skip to content

Commit

Permalink
fix: breaking build
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jul 31, 2024
1 parent f17f261 commit 2095659
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/wiki/[...id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function generateMetadata({ params }: Props) {
block.text.elements[0].text_run.content === "description")
) {
// delete colon
description = block.text.elements[1].text_run.content.slice(1);
description = block.text.elements[1]?.text_run.content.slice(1);
break;
}
}
Expand Down
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2095659

Please sign in to comment.