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

Commit a6978f3

Browse files
committed
remove ogImage alt and sizes
1 parent 0d419c4 commit a6978f3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/common/Layout.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import Meta from '@/components/common/Meta'
22
import Footer from '@/components/organisms/Footer'
33
import Header from '@/components/organisms/Header'
4-
import {NextSeo, BlogJsonLd} from 'next-seo'
5-
import PropTypes from 'prop-types'
64
import {seoPropTypes} from '@/functions/getPagePropTypes'
5+
import {BlogJsonLd, NextSeo} from 'next-seo'
6+
import PropTypes from 'prop-types'
77

88
/**
99
* Render the Layout component.
@@ -21,10 +21,7 @@ export default function Layout({children, seo, hasJsonLd}) {
2121
? null
2222
: [
2323
{
24-
url: seo?.opengraphImage.sourceUrl,
25-
alt: seo?.opengraphImage?.altText,
26-
height: 150,
27-
width: 150
24+
url: seo?.opengraphImage.sourceUrl
2825
}
2926
]
3027

0 commit comments

Comments
 (0)