Unverified Commit 3b8bbe19 authored by João de Vasconcelos's avatar João de Vasconcelos Committed by GitHub

Fix missing async keyword in function declaration (#55887)

Just a one word change to fix the example in https://nextjs.org/docs/app/api-reference/file-conventions/metadata/opengraph-image#generate-images-using-code-js-ts-tsx
parent 814db26c
......@@ -162,7 +162,7 @@ export const size = {
export const contentType = 'image/png'
// Image generation
export default function Image() {
export default async function Image() {
// Font
const interSemiBold = fetch(
new URL('./Inter-SemiBold.ttf', import.meta.url)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment