Skip to content

Commit

Permalink
fix: add missing optional chaining operator
Browse files Browse the repository at this point in the history
  • Loading branch information
soudasuwa committed Sep 29, 2023
1 parent e4cab76 commit 5b4bb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/next/app/[...puckPath]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function generateMetadata({
}

return {
title: getPage(path).root.title,
title: getPage(path)?.root.title,
};
}

Expand Down

0 comments on commit 5b4bb93

Please sign in to comment.