Skip to content

Commit

Permalink
Adds missing async to Opengraph Image code example. (#50990)
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotny committed Jun 8, 2023
1 parent 5150506 commit 61a5539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const interSemiBold = fetch(
).then((res) => res.arrayBuffer())

// Image generation
export default function Image() {
export default async function Image() {
return new ImageResponse(
(
// ImageResponse JSX element
Expand Down

0 comments on commit 61a5539

Please sign in to comment.