From 7f3ada9ccda8f0f11778e2067db1b066c05535a0 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Tue, 1 Mar 2022 17:42:06 -0800 Subject: [PATCH] lint-fix --- examples/cms-wordpress/lib/api.js | 10 +++++----- examples/cms-wordpress/next.config.js | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/cms-wordpress/lib/api.js b/examples/cms-wordpress/lib/api.js index edf0643e9273..9ec551c9d7a6 100644 --- a/examples/cms-wordpress/lib/api.js +++ b/examples/cms-wordpress/lib/api.js @@ -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 { @@ -162,8 +162,8 @@ export async function getPostAndMorePosts(slug, preview, previewData) { } } ` - : '' - } + : '' + } } posts(first: 3, where: { orderby: { field: DATE, order: DESC } }) { edges { diff --git a/examples/cms-wordpress/next.config.js b/examples/cms-wordpress/next.config.js index 421a76bbab60..de6202d75136 100644 --- a/examples/cms-wordpress/next.config.js +++ b/examples/cms-wordpress/next.config.js @@ -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" - ] - } -} \ No newline at end of file + 'secure.gravatar.com', + ], + }, +}