File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default BlogIndex
25
25
26
26
export const pageQuery = graphql `
27
27
query BlogIndexQuery {
28
- allContentfulBlogPost(sort: { fields: [ publishDate], order : DESC }) {
28
+ allContentfulBlogPost(sort: { publishDate: DESC }) {
29
29
nodes {
30
30
title
31
31
slug
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export default RootIndex
28
28
29
29
export const pageQuery = graphql `
30
30
query HomeQuery {
31
- allContentfulBlogPost(sort: { fields: [ publishDate], order : DESC }) {
31
+ allContentfulBlogPost(sort: { publishDate: DESC }) {
32
32
nodes {
33
33
title
34
34
slug
@@ -57,11 +57,7 @@ export const pageQuery = graphql`
57
57
}
58
58
title
59
59
heroImage: image {
60
- gatsbyImage(
61
- layout: CONSTRAINED
62
- placeholder: BLURRED
63
- width: 1180
64
- )
60
+ gatsbyImage(layout: CONSTRAINED, placeholder: BLURRED, width: 1180)
65
61
}
66
62
}
67
63
}
You can’t perform that action at this time.
0 commit comments