Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Mar 2, 2022
1 parent ca38805 commit 7f3ada9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions examples/cms-wordpress/lib/api.js
Expand Up @@ -146,9 +146,9 @@ export async function getPostAndMorePosts(slug, preview, previewData) {
...PostFields
content
${
// Only some of the fields of a revision are considered as there are some inconsistencies
isRevision
? `
// Only some of the fields of a revision are considered as there are some inconsistencies
isRevision
? `
revisions(first: 1, where: { orderby: { field: MODIFIED, order: DESC } }) {
edges {
node {
Expand All @@ -162,8 +162,8 @@ export async function getPostAndMorePosts(slug, preview, previewData) {
}
}
`
: ''
}
: ''
}
}
posts(first: 3, where: { orderby: { field: DATE, order: DESC } }) {
edges {
Expand Down
8 changes: 4 additions & 4 deletions examples/cms-wordpress/next.config.js
Expand Up @@ -2,7 +2,7 @@ module.exports = {
images: {
domains: [
// "[yourapp].wpengine.com" (Update this to be your Wordpress application name in order to load images connected to your posts)
"secure.gravatar.com"
]
}
}
'secure.gravatar.com',
],
},
}

0 comments on commit 7f3ada9

Please sign in to comment.