Skip to content

Commit

Permalink
Fix missing await of params when metadata is used
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Oct 2, 2024
1 parent b591159 commit b2bf11c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function nextMetadataImageLoader(
}
export default async function (props) {
const { __metadata_id__: _, ...params } = props.params
const { __metadata_id__: _, ...params } = await props.params
const imageUrl = fillMetadataSegment(${JSON.stringify(
pathnamePrefix
)}, params, ${JSON.stringify(pageSegment)})
Expand Down

0 comments on commit b2bf11c

Please sign in to comment.