From 82ac0ab8bded59259cee5a50296722492056e87a Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Tue, 13 Feb 2018 16:30:25 -0800 Subject: [PATCH] Improve the warning for when someone includes a graphql query in a non-page component --- .../gatsby/src/internal-plugins/query-runner/query-watcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/src/internal-plugins/query-runner/query-watcher.js b/packages/gatsby/src/internal-plugins/query-runner/query-watcher.js index 9a0db182b9db4..174184a3797f8 100644 --- a/packages/gatsby/src/internal-plugins/query-runner/query-watcher.js +++ b/packages/gatsby/src/internal-plugins/query-runner/query-watcher.js @@ -33,7 +33,7 @@ exports.extractQueries = () => { }) } else { report.warn( - `GraphQL query in component "${component}" will not be run!` + `The GraphQL query in the non-page component "${component}" will not be run.` ) queryWillNotRun = true }