Skip to content

Commit 9be2a0b

Browse files
committed
Fix bug with metadata
1 parent 2e60781 commit 9be2a0b

File tree

1 file changed

+3
-3
lines changed
  • src/app/(frontend)/[locale]/projects/[id]

1 file changed

+3
-3
lines changed

src/app/(frontend)/[locale]/projects/[id]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ export async function generateMetadata({
290290
openGraph: {
291291
images: [
292292
{
293-
url: thumbnail.url!,
294-
width: thumbnail.width!,
295-
height: thumbnail.height!,
293+
url: thumbnail.url || '',
294+
width: thumbnail.width || 0,
295+
height: thumbnail.height || 0,
296296
},
297297
],
298298
},

0 commit comments

Comments
 (0)