Skip to content

Commit

Permalink
Fix missing await of params when metadata with an image file pt2 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gadcam authored Jan 15, 2025
1 parent 1eda2dd commit cda3dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/next-core/src/app_page_loader_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ impl AppPageLoaderTreeBuilder {
let metadata_route = &*get_metadata_route_name((*item).into()).await?;
writeln!(
self.loader_tree_code,
"{s} url: fillMetadataSegment({}, props.params, {}) + \
"{s} url: fillMetadataSegment({}, await props.params, {}) + \
`?${{{identifier}.src.split(\"/\").splice(-1)[0]}}`,",
StringifyJs(&pathname_prefix),
StringifyJs(metadata_route),
Expand Down

0 comments on commit cda3dbf

Please sign in to comment.