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
gadcam authored Oct 25, 2024
1 parent 85b809c commit 204f2dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async function nextMetadataImageLoader(
const imageData = ${JSON.stringify(imageData)}
const imageUrl = fillMetadataSegment(${JSON.stringify(
pathnamePrefix
)}, props.params, ${JSON.stringify(pageSegment)})
)}, await props.params, ${JSON.stringify(pageSegment)})
return [{
...imageData,
Expand Down

0 comments on commit 204f2dd

Please sign in to comment.