Skip to content

Commit

Permalink
Merge pull request #207 from bulentyusuf/patch-2
Browse files Browse the repository at this point in the history
Migrate to gatsbyImage from gatsbyImageData
  • Loading branch information
davidfateh committed Aug 2, 2022
2 parents 8c286dd + 89b3bba commit e4040aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/article-preview.js
Expand Up @@ -18,7 +18,7 @@ const ArticlePreview = ({ posts }) => {
return (
<li key={post.slug}>
<Link to={`/blog/${post.slug}`} className={styles.link}>
<GatsbyImage alt="" image={post.heroImage.gatsbyImageData} />
<GatsbyImage alt="" image={post.heroImage.gatsbyImage} />
<h2 className={styles.title}>{post.title}</h2>
</Link>
<div>
Expand Down

0 comments on commit e4040aa

Please sign in to comment.