@@ -269,8 +269,8 @@ SEO.propTypes = {
269
269
// highlight-start
270
270
image: PropTypes .shape ({
271
271
src: PropTypes .string .isRequired ,
272
- height: PropTypes .string .isRequired ,
273
- width: PropTypes .string .isRequired ,
272
+ height: PropTypes .number .isRequired ,
273
+ width: PropTypes .number .isRequired ,
274
274
}),
275
275
// highlight-end
276
276
}
@@ -424,8 +424,8 @@ SEO.propTypes = {
424
424
title: PropTypes .string .isRequired ,
425
425
image: PropTypes .shape ({
426
426
src: PropTypes .string .isRequired ,
427
- height: PropTypes .string .isRequired ,
428
- width: PropTypes .string .isRequired ,
427
+ height: PropTypes .number .isRequired ,
428
+ width: PropTypes .number .isRequired ,
429
429
}),
430
430
// highlight-next-line
431
431
pathname: PropTypes .string ,
@@ -511,7 +511,6 @@ class BlogPostTemplate extends React.Component {
511
511
render () {
512
512
const post = this .props .data .markdownRemark
513
513
const siteTitle = this .props .data .site .siteMetadata .title
514
- const { previous , next } = this .props .pageContext
515
514
const image = post .frontmatter .image
516
515
? post .frontmatter .image .childImageSharp .resize
517
516
: null // highlight-line
0 commit comments