Skip to content

Commit

Permalink
fix: destruct passed props in generate-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Aug 18, 2024
1 parent 4778b4e commit 5134b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/generate-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const generateMetadata = ({
images,
siteName,
other,
...props
}: Props): Metadata => {
return {
title: title || DEFAULTS.title,
Expand All @@ -59,6 +60,7 @@ const generateMetadata = ({
images: images || DEFAULTS.images,
},
other,
...props,
};
};

Expand Down

0 comments on commit 5134b76

Please sign in to comment.