Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 75460e3

Browse files
committed
fix optional chaining
1 parent a0214c4 commit 75460e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/common/Layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Layout({children, seo, hasJsonLd}) {
3434
<BlogJsonLd
3535
url={seo?.canonical}
3636
title={seo?.title}
37-
images={[seo?.opengraphImage.sourceUrl]}
37+
images={[seo?.opengraphImage?.sourceUrl]}
3838
datePublished={seo?.opengraphPublishedTime}
3939
dateModified={seo?.opengraphModifiedTime}
4040
authorName={seo?.opengraphAuthor}

0 commit comments

Comments
 (0)